aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-04 21:49:36 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-02-04 21:49:36 +0000
commit4512c5c558755ec4438cb51ba1a7cb4071a3d2e4 (patch)
tree19856d6e18a4687e7e9c350ecc8187b49724a6aa
parentupdate qt translations for linux (diff)
downloadgpg4usb-4512c5c558755ec4438cb51ba1a7cb4071a3d2e4.tar.gz
gpg4usb-4512c5c558755ec4438cb51ba1a7cb4071a3d2e4.zip
change default iconsize to 24x24
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@798 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--TODO1
-rw-r--r--mainwindow.cpp2
-rwxr-xr-xsettingsdialog.cpp2
3 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index d0bbbc4..cf70d79 100644
--- a/TODO
+++ b/TODO
@@ -21,6 +21,7 @@ Release 0.3.2
- or set margin to make it easier selectable [DONE]
- remove whitespaces on copy [DONE]
- remove iconpath and use ressource file instead [DONE]
+- change default iconsize to 24x24 [DONE]
- restart gpg4usb on language change [DONE]
- option in settingsdialog for enabling steganographic operations [DONE]
- minimal steganography option: remove or add pgp-headers on demand [DONE]
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 36e4e5e..7f827e3 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -98,7 +98,7 @@ void MainWindow::restoreSettings()
}
// Iconsize
- QSize iconSize = settings.value("toolbar/iconsize", QSize(32, 32)).toSize();
+ QSize iconSize = settings.value("toolbar/iconsize", QSize(24, 24)).toSize();
this->setIconSize(iconSize);
// set list of keyserver if not defined
diff --git a/settingsdialog.cpp b/settingsdialog.cpp
index 84b78fd..ccd6ee9 100755
--- a/settingsdialog.cpp
+++ b/settingsdialog.cpp
@@ -343,7 +343,7 @@ void AppearanceTab::setSettings()
QSettings settings;
//Iconsize
- QSize iconSize = settings.value("toolbar/iconsize", QSize(32, 32)).toSize();
+ QSize iconSize = settings.value("toolbar/iconsize", QSize(24, 24)).toSize();
switch (iconSize.height()) {
case 12: iconSizeSmall->setChecked(true);
break;