summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--apps/Games/minesweep.desktop2
-rw-r--r--noncore/games/minesweep/minesweep.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/Games/minesweep.desktop b/apps/Games/minesweep.desktop
index 3a74b46..b630647 100644
--- a/apps/Games/minesweep.desktop
+++ b/apps/Games/minesweep.desktop
@@ -1,19 +1,19 @@
1[Desktop Entry] 1[Desktop Entry]
2Exec=minesweep 2Exec=minesweep
3Icon=minesweep/MineHunt 3Icon=minesweep/MineSweep
4Type=Application 4Type=Application
5Name=Mine Hunt 5Name=Mine Hunt
6Comment=Find the mines 6Comment=Find the mines
7Name[fr]=Démineur 7Name[fr]=Démineur
8Comment[fr]=Jeu de déminage 8Comment[fr]=Jeu de déminage
9Name[de]=Minenjagd 9Name[de]=Minenjagd
10Comment[de]=Finde die Minen 10Comment[de]=Finde die Minen
11Name[es]=Busca Minas 11Name[es]=Busca Minas
12Comment[es]=Busca las minas 12Comment[es]=Busca las minas
13Name[fr]=Démineur 13Name[fr]=Démineur
14Name[hu]=Aknakeresõ 14Name[hu]=Aknakeresõ
15Name[it]=Campo Minato 15Name[it]=Campo Minato
16Comment[it]=Campo Minato 16Comment[it]=Campo Minato
17Name[no]=Minesøk 17Name[no]=Minesøk
18Name[pt]=Minas 18Name[pt]=Minas
19Comment[pt]=Procura as minas 19Comment[pt]=Procura as minas
diff --git a/noncore/games/minesweep/minesweep.cpp b/noncore/games/minesweep/minesweep.cpp
index 4a6a92c..c14609d 100644
--- a/noncore/games/minesweep/minesweep.cpp
+++ b/noncore/games/minesweep/minesweep.cpp
@@ -227,35 +227,35 @@ public:
227 } 227 }
228protected: 228protected:
229 void resizeEvent( QResizeEvent *e ) { 229 void resizeEvent( QResizeEvent *e ) {
230 field->setAvailableRect( contentsRect()); 230 field->setAvailableRect( contentsRect());
231 QFrame::resizeEvent(e); 231 QFrame::resizeEvent(e);
232 } 232 }
233private: 233private:
234 MineField *field; 234 MineField *field;
235}; 235};
236 236
237 237
238 238
239MineSweep::MineSweep( QWidget* parent, const char* name, WFlags f ) 239MineSweep::MineSweep( QWidget* parent, const char* name, WFlags f )
240: QMainWindow( parent, name, f ) 240: QMainWindow( parent, name, f )
241{ 241{
242 srand(::time(0)); 242 srand(::time(0));
243 setCaption( tr("Mine Hunt") ); 243 setCaption( tr("Mine Sweep") );
244 QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff ); 244 QPEApplication::setInputMethodHint(this, QPEApplication::AlwaysOff );
245 setIcon( Resource::loadPixmap( "minesweep/MineHunt" ) ); 245 setIcon( Resource::loadPixmap( "minesweep/MineSweep" ) );
246 246
247 QToolBar *toolBar = new QToolBar( this ); 247 QToolBar *toolBar = new QToolBar( this );
248 toolBar->setHorizontalStretchable( TRUE ); 248 toolBar->setHorizontalStretchable( TRUE );
249 249
250 QMenuBar *menuBar = new QMenuBar( toolBar ); 250 QMenuBar *menuBar = new QMenuBar( toolBar );
251 251
252 QPopupMenu *gameMenu = new QPopupMenu( this ); 252 QPopupMenu *gameMenu = new QPopupMenu( this );
253 gameMenu->insertItem( tr("Beginner"), this, SLOT( beginner() ) ); 253 gameMenu->insertItem( tr("Beginner"), this, SLOT( beginner() ) );
254 gameMenu->insertItem( tr("Advanced"), this, SLOT( advanced() ) ); 254 gameMenu->insertItem( tr("Advanced"), this, SLOT( advanced() ) );
255 255
256 if (qApp->desktop()->width() >= 240) { 256 if (qApp->desktop()->width() >= 240) {
257 gameMenu->insertItem( tr("Expert"), this, SLOT( expert() ) ); 257 gameMenu->insertItem( tr("Expert"), this, SLOT( expert() ) );
258 } 258 }
259 259
260 menuBar->insertItem( tr("Game"), gameMenu ); 260 menuBar->insertItem( tr("Game"), gameMenu );
261 261