diff options
Diffstat (limited to 'api/logic/minecraft')
-rw-r--r-- | api/logic/minecraft/SimpleModList.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/api/logic/minecraft/SimpleModList.cpp b/api/logic/minecraft/SimpleModList.cpp index 9769a546..59dd7cf3 100644 --- a/api/logic/minecraft/SimpleModList.cpp +++ b/api/logic/minecraft/SimpleModList.cpp @@ -349,11 +349,6 @@ bool SimpleModList::dropMimeData(const QMimeData* data, Qt::DropAction action, i // files dropped from outside? if (data->hasUrls()) { - bool was_watching = is_watching; - if (was_watching) - { - stopWatching(); - } auto urls = data->urls(); for (auto url : urls) { @@ -366,10 +361,6 @@ bool SimpleModList::dropMimeData(const QMimeData* data, Qt::DropAction action, i // FIXME: handle errors here installMod(url.toLocalFile()); } - if (was_watching) - { - startWatching(); - } return true; } return false; |