summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/styles/qcommonstyle.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp
index 5cb1699df..43e659b39 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -404,6 +404,9 @@ const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWi
if (iconSet) {
ceData.iconSet = *iconSet;
}
+ else {
+ ceData.iconSet = TQIconSet();
+ }
if (fgPixmap) {
ceData.fgPixmap = *fgPixmap;
}
@@ -538,6 +541,9 @@ const TQStyleControlElementData &populateControlElementDataFromWidget(const TQWi
if (iconSet) {
ceData.iconSet = *iconSet;
}
+ else {
+ ceData.iconSet = TQIconSet();
+ }
}
}
// Complex Controls