summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/preprocessor.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-05-18 23:11:31 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-06-22 02:20:29 +0300
commita993510c9eb2da86a24a0c42ce13fbe3a9fa062b (patch)
tree40c34721b0db1e77fd3969a9e6376808a4bab731 /src/tools/moc/preprocessor.cpp
parent39882a1354cb06d2b0b0a0d5b41a168041df0476 (diff)
Moc: simplify showing a warning
Instead of changing the "index" member then restoring it, add a symbolAt() method to get the Symbol in question, and pass it to new warning() overload. Change-Id: Ie84a6cf4d837f4ed694f617100e9556c2fc2eea3 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/tools/moc/preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions