Commit cf28b6c4 authored by Andrius Štikonas's avatar Andrius Štikonas

Remove unused function.

parent 487464d3
......@@ -727,17 +727,6 @@ void KGrEditor::setEditableCell (int i, int j, char type)
scene->paintCell (i, j, type);
}
void KGrEditor::showEditLevel()
{
// Disconnect play-mode slots from signals from "view".
disconnect (view, SIGNAL (mouseClick(int)), 0, 0);
disconnect (view, SIGNAL (mouseLetGo(int)), 0, 0);
// Connect edit-mode slots to signals from "view".
connect(view, &KGrView::mouseClick, this, &KGrEditor::doEdit);
connect(view, &KGrView::mouseLetGo, this, &KGrEditor::endEdit);
}
bool KGrEditor::reNumberLevels (int cIndex, int first, int last, int inc)
{
int i, n, step;
......
......@@ -225,7 +225,6 @@ private:
void insertEditObj (int, int, char object);
char editableCell (int i, int j);
void setEditableCell (int, int, char);
void showEditLevel();
bool reNumberLevels (int, int, int, int);
bool ownerOK (Owner o);
bool saveGameData (Owner o);
......
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