summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteincludes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
-rw-r--r--src/tools/uic/cpp/cppwriteincludes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/uic/cpp/cppwriteincludes.cpp b/src/tools/uic/cpp/cppwriteincludes.cpp
index 0ba9d28642..d51fddffea 100644
--- a/src/tools/uic/cpp/cppwriteincludes.cpp
+++ b/src/tools/uic/cpp/cppwriteincludes.cpp
@@ -150,6 +150,8 @@ void WriteIncludes::acceptProperty(DomProperty *node)
add(QLatin1String("QDate"));
if (node->kind() == DomProperty::Locale)
add(QLatin1String("QLocale"));
+ if (node->kind() == DomProperty::IconSet)
+ add(QLatin1String("QIcon"));
TreeWalker::acceptProperty(node);
}