Commit 7e671d99 authored by Nicolas Hadacek's avatar Nicolas Hadacek
Browse files

small fixes

svn path=/trunk/kdegames/kmines/; revision=45285
parent 13156e91
- better case scaling can be obtained with QPAinter::scale(double) ??
- layout bug when changing level/case size (fvwm specific ?)
- configuration for mouse buttons' actions
- disable "pause game" when game stopped
+ change to "resume game" when game paused
......@@ -354,7 +354,7 @@ OptionDialog::OptionDialog(uint &caseSize, QWidget *parent)
: DialogBase(i18n("Game settings"), Ok|Cancel, Cancel, parent),
cs(caseSize)
{
KIntNumInput *ni = new KIntNumInput(0, caseSize, this, 10);
KIntNumInput *ni = new KIntNumInput(0, caseSize, plainPage(), 10);
ni->setRange(MIN_CASE_SIZE, MAX_CASE_SIZE, 1, true);
ni->setLabel(i18n("Case size"));
top->addWidget(ni);
......
......@@ -41,7 +41,7 @@ MainWidget::MainWidget()
KStdAction::openNew(status, SLOT(restartGame()),
actionCollection(), "game_new");
KAction *action
= new KAction(i18n("&Pause game"), Key_P, status, SLOT(pauseGame()),
= new KAction(i18n("&Pause"), Key_P, status, SLOT(pauseGame()),
actionCollection(), "game_pause");
action->plugAccel(kacc);
action = new KAction(i18n("&High scores..."), Key_H,
......@@ -195,6 +195,7 @@ int main(int argc, char **argv)
"(c) 1996-2000, Nicolas Hadacek",
0, "http://azhyd.free.fr/KDE/kmines.php3");
aboutData.addAuthor("Nicolas Hadacek", 0, "hadacek@kde.org");
aboutData.addCredit("Andreas Zehender", "Smiley pixmaps");
KCmdLineArgs::init(argc, argv, &aboutData);
KApplication a;
......
#define VERSION "2.0.2"
#define LONG_VERSION "2.0.2 (29 Fev 2000)"
#define LONG_VERSION "2.0.2 (31 Mar 2000)"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment