summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-01-14 01:36:04 +0100
committerPetr Mrázek <peterix@gmail.com>2019-01-14 01:36:04 +0100
commit7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6 (patch)
tree2ba4921a6d262d43a2e70856d54e2f45a59dc2fe /api/logic/minecraft
parentc08053d8b87de4d0fd4f9ac51021e03dfd851420 (diff)
downloadMultiMC-7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6.tar
MultiMC-7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6.tar.gz
MultiMC-7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6.tar.lz
MultiMC-7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6.tar.xz
MultiMC-7436c94976b2ee0c6f8a9e69d6acb8369ba4cbe6.zip
NOISSUE Replace Quality with Completeness in language widget
Completeness does no imply quality.
Diffstat (limited to 'api/logic/minecraft')
-rw-r--r--api/logic/minecraft/SimpleModList.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/api/logic/minecraft/SimpleModList.cpp b/api/logic/minecraft/SimpleModList.cpp
index bc15dde7..2b686635 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;