From 48f56c435242b2e7049aa0a54d9ba7b8d5ef9de5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 3 Oct 2014 12:38:54 -0500 Subject: Automated update from Qt3 --- src/styles/qcommonstyle.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/styles/qcommonstyle.cpp') 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 -- cgit v1.2.1