summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Wadham <[email protected]>2015-07-08 20:17:25 +1000
committerIan Wadham <[email protected]>2015-07-12 12:08:17 +1000
commit9ce2b864b3c0742e524cdb75405b31f42383f1bf (patch)
tree6987eff19b14dabed0f6ddcdfacf21702ea33090
parent9069654af72330c12b52466c053e4d3588d81c4d (diff)
Save As is supported so remove message. Also remove an unused variable.
-rw-r--r--src/gui/ksudoku.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui/ksudoku.cpp b/src/gui/ksudoku.cpp
index 65ec19f..c9c4ca8 100644
--- a/src/gui/ksudoku.cpp
+++ b/src/gui/ksudoku.cpp
@@ -346,7 +346,6 @@ void KSudoku::giveHint()
{
Game game = currentGame();
if(!game.isValid()) return;
- SudokuType t = game.puzzle()->graph()->specificType();
game.giveHint();
}
@@ -660,13 +659,6 @@ void KSudoku::gameSaveAs()
// this slot is called whenever the Game->Save As menu is selected,
Game game = currentGame();
if(!game.isValid()) return;
- SudokuType t = game.puzzle()->graph()->specificType();
- if ((t == Mathdoku) || (t == KillerSudoku)) {
- KMessageBox::information (this,
- i18n("Sorry, saving Mathdoku and Killer Sudoku "
- "puzzles is not yet supported."));
- return;
- }
game.setUrl(KFileDialog::getSaveUrl(KUrl("kfiledialog:///ksudoku")));
if (!game.getUrl().isEmpty() && game.getUrl().isValid())