author | ar <ar> | 2004-02-14 16:06:45 (UTC) |
---|---|---|
committer | ar <ar> | 2004-02-14 16:06:45 (UTC) |
commit | 1ab6282d6869ca200133a0e47323ae9a760b3400 (patch) (unidiff) | |
tree | a7f2b4fb6f34edb4b50f00b12cf649b9cf59b8ca /noncore/games/tetrix | |
parent | c7cf5faa7f1512fa48fb298a75902d4557bc9cfa (diff) | |
download | opie-1ab6282d6869ca200133a0e47323ae9a760b3400.zip opie-1ab6282d6869ca200133a0e47323ae9a760b3400.tar.gz opie-1ab6282d6869ca200133a0e47323ae9a760b3400.tar.bz2 |
improve support for BigScreen
-rw-r--r-- | noncore/games/tetrix/ohighscoredlg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/games/tetrix/ohighscoredlg.cpp b/noncore/games/tetrix/ohighscoredlg.cpp index cf0dcf7..7581f51 100644 --- a/noncore/games/tetrix/ohighscoredlg.cpp +++ b/noncore/games/tetrix/ohighscoredlg.cpp | |||
@@ -14,12 +14,13 @@ | |||
14 | **************************************************************************/ | 14 | **************************************************************************/ |
15 | 15 | ||
16 | #include <qdialog.h> | 16 | #include <qdialog.h> |
17 | #include <qpe/config.h> | 17 | #include <qpe/config.h> |
18 | #include <qlayout.h> | 18 | #include <qlayout.h> |
19 | #include <qpe/config.h> | 19 | #include <qpe/config.h> |
20 | #include <qpe/qpeapplication.h> | ||
20 | 21 | ||
21 | #include <qstring.h> | 22 | #include <qstring.h> |
22 | #include <qhbox.h> | 23 | #include <qhbox.h> |
23 | #include <qvbox.h> | 24 | #include <qvbox.h> |
24 | #include <qlabel.h> | 25 | #include <qlabel.h> |
25 | #include <qlistview.h> | 26 | #include <qlistview.h> |
@@ -166,13 +167,13 @@ OHighscoreDialog::OHighscoreDialog(OHighscore *highscore, QWidget *parent, const | |||
166 | list->addColumn( tr( "Points" )); | 167 | list->addColumn( tr( "Points" )); |
167 | list->addColumn( tr( "Level" )); | 168 | list->addColumn( tr( "Level" )); |
168 | 169 | ||
169 | createHighscoreListView(); | 170 | createHighscoreListView(); |
170 | 171 | ||
171 | vbox_layout->addWidget( list ); | 172 | vbox_layout->addWidget( list ); |
172 | showMaximized(); | 173 | QPEApplication::showDialog( this ); |
173 | } | 174 | } |
174 | 175 | ||
175 | void OHighscoreDialog::createHighscoreListView() | 176 | void OHighscoreDialog::createHighscoreListView() |
176 | { | 177 | { |
177 | int pos = 10; | 178 | int pos = 10; |
178 | int points_ = 0; | 179 | int points_ = 0; |