From 1e7164ab69cb86723a3b96b1a368a09af43663b7 Mon Sep 17 00:00:00 2001 From: Akos Polster Date: Sun, 28 Nov 2010 16:38:10 +0100 Subject: [PATCH] ... --- mainwindow.cpp | 4 +++- widgets/splash.cpp | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 763fb06..f45b950 100755 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -42,7 +42,10 @@ MainWindow::MainWindow(QWidget *parent): #ifdef Q_WS_MAEMO_5 setAttribute(Qt::WA_Maemo5StackedWindow, true); #endif + +#ifndef Q_OS_SYMBIAN setWindowTitle("Dorian"); +#endif // Central widget. Must be an intermediate, because the book view widget // can be re-parented later @@ -54,7 +57,6 @@ MainWindow::MainWindow(QWidget *parent): // Book view view = new BookView(this); - view->show(); // Tool bar actions diff --git a/widgets/splash.cpp b/widgets/splash.cpp index f906c29..de42680 100755 --- a/widgets/splash.cpp +++ b/widgets/splash.cpp @@ -2,6 +2,7 @@ #include "splash.h" -Splash::Splash(): QSplashScreen(QPixmap(":/icons/splash.jpg")) +Splash::Splash(): QSplashScreen(QPixmap(":/icons/splash.jpg").scaled(360, 518, + Qt::IgnoreAspectRatio, Qt::SmoothTransformation)) { } -- 1.7.9.5