From 4bdcac90265e9f7489bc8f48746e9c020182a1a9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 29 Jun 2015 14:48:59 -0500 Subject: Add theme file option to scale icons Disable icon scaling by default This relates to Bug 2009 --- src/thememoodin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/thememoodin.cpp') diff --git a/src/thememoodin.cpp b/src/thememoodin.cpp index 2ad557c..b87b92a 100644 --- a/src/thememoodin.cpp +++ b/src/thememoodin.cpp @@ -85,6 +85,7 @@ void ThemeMoodin::readSettings() mBaseResolution = cfg->readSizeEntry("BaseResolution", new TQSize(1280, 1024)); mTranslate = cfg->readBoolEntry("Translate", true); mLineUpImages = cfg->readBoolEntry("LineUpImages", false); + mScaleIcons = cfg->readBoolEntry("ScaleIcons", false); mKubuntuStyle = cfg->readBoolEntry("KubuntuStyle", false); // so we can centre icons, JRiddell @@ -273,7 +274,7 @@ void ThemeMoodin::initEffectWidgets() TQPixmap* px = new TQPixmap(DesktopIcon(*it, mIconSetSize)); image = new TQImage(px->convertToImage()); // JRiddell don't scale icons - if (!mKubuntuStyle) { + if (!mKubuntuStyle && mScaleIcons) { mScaler->scaleSize(image); } } -- cgit v1.2.1