summaryrefslogtreecommitdiffstats
path: root/application/GuiUtil.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-06-26 01:14:32 +0200
committerPetr Mrázek <peterix@gmail.com>2017-06-26 01:14:32 +0200
commit89d3a66658ebdb16582a4d7a2cab57cfd6906393 (patch)
treef3b4daf14a18db76de1b9998da16b505b3872d10 /application/GuiUtil.cpp
parent2973b11d3edf47fe437af4dd1dc1a5f250c49ba3 (diff)
downloadMultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar
MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.gz
MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.lz
MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.tar.xz
MultiMC-89d3a66658ebdb16582a4d7a2cab57cfd6906393.zip
NOISSUE some safe refactors and changes of the task subsystem
Possibly also some bug fixes.
Diffstat (limited to 'application/GuiUtil.cpp')
-rw-r--r--application/GuiUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/GuiUtil.cpp b/application/GuiUtil.cpp
index 054fc0be..26050488 100644
--- a/application/GuiUtil.cpp
+++ b/application/GuiUtil.cpp
@@ -33,7 +33,7 @@ QString GuiUtil::uploadPaste(const QString &text, QWidget *parentWidget)
}
dialog.execWithTask(paste.get());
- if (!paste->successful())
+ if (!paste->wasSuccessful())
{
CustomMessageBox::selectable(parentWidget, QObject::tr("Upload failed"),
paste->failReason(), QMessageBox::Critical)->exec();