summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/iconloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/lib/shared/iconloader.cpp')
-rw-r--r--tools/designer/src/lib/shared/iconloader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/designer/src/lib/shared/iconloader.cpp b/tools/designer/src/lib/shared/iconloader.cpp
index df0bb7e..ed312b8 100644
--- a/tools/designer/src/lib/shared/iconloader.cpp
+++ b/tools/designer/src/lib/shared/iconloader.cpp
@@ -70,8 +70,7 @@ QDESIGNER_SHARED_EXPORT QIcon createIconSet(const QString &name)
QDESIGNER_SHARED_EXPORT QIcon emptyIcon()
{
- static const QIcon empty_icon(QLatin1String(":/trolltech/formeditor/images/emptyicon.png"));
- return empty_icon;
+ return QIcon(QLatin1String(":/trolltech/formeditor/images/emptyicon.png"));
}
} // namespace qdesigner_internal