summaryrefslogtreecommitdiffabout
path: root/kmicromail
Side-by-side diff
Diffstat (limited to 'kmicromail') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp
index f2879e8..a4f6a06 100644
--- a/kmicromail/main.cpp
+++ b/kmicromail/main.cpp
@@ -32,5 +32,8 @@ int main( int argc, char **argv ) {
#ifndef DESKTOP_VERSION
fileName = getenv("QPEDIR");
- KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/");
+ if ( QApplication::desktop()->width() > 320 )
+ KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/icons22/");
+ else
+ KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/");
#else
fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/";