From 0a187d0ad36f1223334a260b0c51c0b1b2935298 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Tue, 15 Sep 2015 22:51:10 +0200 Subject: GH-1227 protect world from corruption --- application/pages/WorldListPage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application/pages/WorldListPage.h') diff --git a/application/pages/WorldListPage.h b/application/pages/WorldListPage.h index f0b0e7e9..5cf0966a 100644 --- a/application/pages/WorldListPage.h +++ b/application/pages/WorldListPage.h @@ -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 ¤t, const QModelIndex &previous); }; -- cgit