diff options
| author | Peter Penz <[email protected]> | 2007-09-09 12:51:12 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-09-09 12:51:12 +0000 |
| commit | 1f17916fe2ef8bbbb21ba1aa5afe0a5f86999cc6 (patch) | |
| tree | 2b0470eca363ae0fb23716c3cb5bddcd1dd6f421 /src/iconsizedialog.h | |
| parent | d6f393ff038e7c51d4a8a213ced4f312de7ab8bc (diff) | |
minor optimization: don't instantiate the icon loader on each size change
svn path=/trunk/KDE/kdebase/apps/; revision=710256
Diffstat (limited to 'src/iconsizedialog.h')
| -rw-r--r-- | src/iconsizedialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <kdialog.h> +#include <kiconloader.h> class QSlider; class PixmapViewer; @@ -77,6 +78,7 @@ private: PixmapViewer* m_iconSizeViewer; QSlider* m_previewSizeSlider; PixmapViewer* m_previewSizeViewer; + KIconLoader m_iconLoader; }; #endif |
