[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kmines
From:       Nicolas Roffet <nicolas-kde () roffet ! com>
Date:       2008-04-02 20:45:16
Message-ID: 1207169116.041818.27102.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 793013 by roffet:

KGameDifficulty provides a "better" way to manage user defined levels with the value \
"KGameDifficulty::Configurable". (Less work for translators and standardized text \
between all games using it.)

 M  +2 -2      mainwindow.cpp  


--- trunk/KDE/kdegames/kmines/mainwindow.cpp #793012:793013
@@ -94,7 +94,7 @@
     KGameDifficulty::addStandardLevel(KGameDifficulty::Easy);
     KGameDifficulty::addStandardLevel(KGameDifficulty::Medium);
     KGameDifficulty::addStandardLevel(KGameDifficulty::Hard);
-    KGameDifficulty::addCustomLevel(0, i18n("Custom"));
+    KGameDifficulty::addStandardLevel(KGameDifficulty::Configurable);
 
     setupGUI(qApp->desktop()->availableGeometry().size()*0.4);
 }
@@ -130,7 +130,7 @@
         case KGameDifficulty::Hard:
             m_scene->startNewGame(16,30,99);
             break;
-        case KGameDifficulty::Custom:
+        case KGameDifficulty::Configurable:
             m_scene->startNewGame(Settings::self()->customHeight(),
                                   Settings::self()->customWidth(),
                                   Settings::self()->customMines());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic