diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-07-21 22:10:27 +0200 |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-07-21 22:10:27 +0200 |
commit | 69a96e6c37c65e55c7ec1c05471ea0d771173e6d (patch) | |
tree | 410310972dede2913238d3ac0ed7b31d67b7542d | |
parent | d54cfce1fb9a365fb9923ac538b711b2bffd915f (diff) |
Remove unnecessary code
-rw-r--r-- | weatherinfo/weatherinfo.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/weatherinfo/weatherinfo.cpp b/weatherinfo/weatherinfo.cpp index 0249696..b3a36fb 100644 --- a/weatherinfo/weatherinfo.cpp +++ b/weatherinfo/weatherinfo.cpp @@ -468,36 +468,6 @@ private: layoutItems(); } -#if !defined(Q_OS_SYMBIAN) - void keyPressEvent(QKeyEvent *event) { - if (event->key() == Qt::Key_F3) { - event->accept(); - - if (width() == 520 && height() == 288) { - resize(240, 245); // N95 - return; - } - - if (width() == 240 && height() == 245) { - resize(320, 198); // E71 - return; - } - - if (width() == 320 && height() == 198) { - resize(360, 504); // N97 Portrait - return; - } - - if (width() == 360 && height() == 504) { - resize(520, 288); // N97 Landscape - return; - } - - // back to E71 - resize(320, 198); - } - } -#endif }; #include "weatherinfo.moc" |