Commit 984d15f2 authored by Pino Toscano's avatar Pino Toscano
Browse files

new kdelibs api

svn path=/trunk/playground/games/ksirk/; revision=649067
parent 36cbcec0
......@@ -1569,7 +1569,7 @@ void GameAutomaton::slotConnectionToServerBroken()
if (KMessageBox::questionYesNoCancel(m_game,
i18n("KsirK - Lost connection to server !\nWhat do you want to do ?"),
i18n("Starting a new game or exit."),
KGuiItem(i18n("New Game")), KGuiItem(i18n("Exit")), i18n("Do nothing")) == KMessageBox::Yes)
KGuiItem(i18n("New Game")), KGuiItem(i18n("Exit")), KGuiItem(i18n("Do nothing"))) == KMessageBox::Yes)
{
if (!m_game->actionNewGame())
exit(0);
......
......@@ -21,13 +21,11 @@
#include "ksirksettings.h"
#include "ui_preferences.h"
#include <kkeydialog.h>
#include <kfiledialog.h>
#include <kconfig.h>
#include <kurl.h>
#include <ktabwidget.h>
#include <kedittoolbar.h>
// #include <kaccel.h>
#include <kdebug.h>
#include <kstandardaction.h>
......
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