From 1f17916fe2ef8bbbb21ba1aa5afe0a5f86999cc6 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 9 Sep 2007 12:51:12 +0000 Subject: minor optimization: don't instantiate the icon loader on each size change svn path=/trunk/KDE/kdebase/apps/; revision=710256 --- src/iconsizedialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/iconsizedialog.h') diff --git a/src/iconsizedialog.h b/src/iconsizedialog.h index 33cd83725..ed270baec 100644 --- a/src/iconsizedialog.h +++ b/src/iconsizedialog.h @@ -21,6 +21,7 @@ #define ICONSIZEDIALOG_H #include +#include class QSlider; class PixmapViewer; @@ -77,6 +78,7 @@ private: PixmapViewer* m_iconSizeViewer; QSlider* m_previewSizeSlider; PixmapViewer* m_previewSizeViewer; + KIconLoader m_iconLoader; }; #endif -- cgit v1.3.1