N810 changes: maximized 'map' dialog
authorpavelpa <pavelpa@localhost>
Mon, 1 Feb 2010 13:15:02 +0000 (13:15 +0000)
committerpavelpa <pavelpa@localhost>
Mon, 1 Feb 2010 13:15:02 +0000 (13:15 +0000)
src/gui/mapwindow.cpp

index cf86f477b920b7be4ee6d0fa21e4f01a8fce3ba6..ce1e82a80fbd4af08bf1e7441f0ce7251308f5ac 100644 (file)
@@ -9,6 +9,9 @@ MapWindow::MapWindow(const QPixmap &aImage, const QString &aName, QWidget *aPare
     //map->setScaledContents(true);
     //map->setPixmap(aImage.scaled(QSize(800,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
     map->setPixmap(aImage.scaled(QSize(640,480),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
+#elif N810
+    showMaximized();
+    map->setPixmap(aImage.scaled(QSize(400,300),Qt::KeepAspectRatioByExpanding,Qt::SmoothTransformation));
 #else
     map->setPixmap(aImage);
 #endif