summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/SimpleModList.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/SimpleModList.h')
-rw-r--r--api/logic/minecraft/SimpleModList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/logic/minecraft/SimpleModList.h b/api/logic/minecraft/SimpleModList.h
index 3ed2edfe..8cb57727 100644
--- a/api/logic/minecraft/SimpleModList.h
+++ b/api/logic/minecraft/SimpleModList.h
@@ -106,6 +106,9 @@ public:
return mods;
}
+public slots:
+ void disableInteraction(bool disabled);
+
private
slots:
void directoryChanged(QString path);
@@ -116,6 +119,7 @@ signals:
protected:
QFileSystemWatcher *m_watcher;
bool is_watching = false;
+ bool interaction_disabled = false;
QDir m_dir;
QList<Mod> mods;
};