From 3b999569bf04f03a91430f782d851dc626b689ec Mon Sep 17 00:00:00 2001 From: Willem Liu Date: Tue, 14 Sep 2010 17:44:02 +0200 Subject: [PATCH] Changed project files --- easylist.pro.user | 2 +- src/mainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/easylist.pro.user b/easylist.pro.user index a80b162..8a782c4 100755 --- a/easylist.pro.user +++ b/easylist.pro.user @@ -186,7 +186,7 @@ C:/dev/cpp/easylist/src/data/48x48/easylist.png C:/dev/cpp/easylist/src/data/64x64/easylist.png - false + true /opt/easylist/bin/easylist /usr/share/applications/hildon/easylist.desktop diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a639db2..ebec627 100755 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -53,12 +53,12 @@ MainWindow::MainWindow(QWidget *parent) : { landscape = settings->value("Landscape").toBool(); } + settings->setValue("Landscape", landscape); // If keyboard is opened at start. if(isKeyboardClosed() == false) { landscape = true; } - settings->setValue("Landscape", landscape); setLandscapeMode(landscape); // Auto-detect portrait/landscape mode. Only works on top widget. // setAttribute(Qt::WA_Maemo5AutoOrientation, true); -- 1.7.9.5