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
@@ -31,7 +31,10 @@ int main( int argc, char **argv ) {
QString fileName ;
#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/";
KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName));