[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegames/kmines
From: Dmitry Suzdalev <dimsuz () gmail ! com>
Date: 2008-11-27 19:47:07
Message-ID: 1227815227.620017.24528.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 889832 by dimsuz:
Remove some more unnedded Settings::self() and fix a bug with discarding pixmap cache at every startup
M +1 -1 cellitem.cpp
M +3 -3 mainwindow.cpp
M +1 -0 renderer.cpp
--- trunk/KDE/kdegames/kmines/cellitem.cpp #889831:889832
@@ -93,7 +93,7 @@
// this will provide cycling through
// Released -> "?"-mark -> "RedFlag"-mark -> Released
- bool useQuestion = Settings::self()->useQuestionMarks();
+ bool useQuestion = Settings::useQuestionMarks();
switch(m_state)
{
--- trunk/KDE/kdegames/kmines/mainwindow.cpp #889831:889832
@@ -161,9 +161,9 @@
m_scene->startNewGame(16,30,99);
break;
case KGameDifficulty::Configurable:
- m_scene->startNewGame(Settings::self()->customHeight(),
- Settings::self()->customWidth(),
- Settings::self()->customMines());
+ m_scene->startNewGame(Settings::customHeight(),
+ Settings::customWidth(),
+ Settings::customMines());
default:
//unsupported
break;
--- trunk/KDE/kdegames/kmines/renderer.cpp #889831:889832
@@ -133,6 +133,7 @@
// do discard cache on next loadTheme
// (see discardCache above)
m_currentTheme = "default";
+ Settings::setTheme("themes/default.desktop");
}
bool res = m_renderer->load( theme.graphics() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic