summaryrefslogtreecommitdiffstats
path: root/application/pages/WorldListPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-15 22:51:10 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-15 22:51:10 +0200
commit0a187d0ad36f1223334a260b0c51c0b1b2935298 (patch)
treed05214e6dbe1204c11f291b82509d5aa80ad061b /application/pages/WorldListPage.h
parent8d3f13c4478f7e99a32a0804d57ac2ece05d7e92 (diff)
downloadMultiMC-0a187d0ad36f1223334a260b0c51c0b1b2935298.tar
MultiMC-0a187d0ad36f1223334a260b0c51c0b1b2935298.tar.gz
MultiMC-0a187d0ad36f1223334a260b0c51c0b1b2935298.tar.lz
MultiMC-0a187d0ad36f1223334a260b0c51c0b1b2935298.tar.xz
MultiMC-0a187d0ad36f1223334a260b0c51c0b1b2935298.zip
GH-1227 protect world from corruption
Diffstat (limited to 'application/pages/WorldListPage.h')
-rw-r--r--application/pages/WorldListPage.h3
1 files changed, 3 insertions, 0 deletions
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 &current, const QModelIndex &previous);
};