GH-1227 protect world from corruption

This commit is contained in:
Petr Mrázek
2015-09-15 22:51:10 +02:00
parent 8d3f13c447
commit 0a187d0ad3
3 changed files with 120 additions and 71 deletions

View File

@ -68,6 +68,8 @@ protected:
private:
QModelIndex getSelectedWorld();
bool isWorldSafe(QModelIndex index);
bool worldSafetyNagQuestion();
private:
Ui::WorldListPage *ui;
@ -84,6 +86,7 @@ private slots:
void on_addBtn_clicked();
void on_copyBtn_clicked();
void on_renameBtn_clicked();
void on_refreshBtn_clicked();
void on_viewFolderBtn_clicked();
void worldChanged(const QModelIndex &current, const QModelIndex &previous);
};