Improve look on Mac.
authorAkos Polster <akos@pipacs.com>
Tue, 14 Jun 2011 17:59:31 +0000 (19:59 +0200)
committerAkos Polster <akos@pipacs.com>
Tue, 14 Jun 2011 17:59:31 +0000 (19:59 +0200)
widgets/dyalog.cpp
widgets/splash.cpp

index 2d8d103..baea41a 100644 (file)
@@ -56,7 +56,9 @@ Dyalog::Dyalog(QWidget *parent, bool showButtons_):
 #endif
         boxLayout = new QHBoxLayout(this);
     }
+#if defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5)
     boxLayout->setMargin(0);
+#endif
     boxLayout->addWidget(scroller);
 #ifndef Q_OS_SYMBIAN
     if (showButtons) {
index 3d8e94b..560bf4c 100755 (executable)
@@ -8,6 +8,7 @@
 Splash::Splash(): QSplashScreen()\r
 {\r
     TRACE;\r
+\r
     Platform *platform = Platform::instance();\r
 #if defined(Q_OS_SYMBIAN)\r
     QRect geo = QApplication::desktop()->availableGeometry();\r
@@ -23,5 +24,7 @@ Splash::Splash(): QSplashScreen()
     // Force landscape: QSplash seems to be broken in portrait\r
     platform->setOrientation(this, "landscape");\r
     setPixmap(QPixmap(platform->icon("splash-landscape", ".jpg")));\r
+#else\r
+    Q_UNUSED(platform);\r
 #endif\r
 }\r