summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 19adb00..22d222a 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -151,2 +151,6 @@ public:
// ugly hack, remove that later after finding a sane solution
+ // Addendum: Only Sharp currently has models with high resolution but (physically) small displays,
+ // so this is only useful if QT_QWS_SHARP is defined. E.g. SIMpad has 800x600 but has
+ // a (physically) large enough display to use the small icons
+ #ifdef QT_QWS_SHARP
if ( QPEApplication::desktop() ->width() >= 600 && ( mw->inherits("QMainWindow") || mw->isA("QMainWindow") ) ) {
@@ -154,2 +158,3 @@ public:
}
+ #endif
@@ -524,2 +529,3 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
}
+ #ifdef QT_QWS_SHARP
else if ( dw > 600 ) {
@@ -529,2 +535,3 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
}
+ #endif
else if ( dw > 200 ) {
@@ -535,3 +542,2 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
-
QMimeSourceFactory::setDefaultFactory( new ResourceMimeFactory );