summaryrefslogtreecommitdiffstats
path: root/gui/ConsoleWindow.cpp
diff options
context:
space:
mode:
authorrobotbrainify <robotbrainify@gmail.com>2013-12-06 17:17:32 -0500
committerrobotbrainify <robotbrainify@gmail.com>2013-12-06 17:17:32 -0500
commit4548930e34f5bc325c62ac5b6c5a1701ce914683 (patch)
tree8710677546c74962d4d3ea1ee454ff604a17c7bf /gui/ConsoleWindow.cpp
parente2728317e7b6d6b0301e3ca17becd78d6455107e (diff)
downloadMultiMC-4548930e34f5bc325c62ac5b6c5a1701ce914683.tar
MultiMC-4548930e34f5bc325c62ac5b6c5a1701ce914683.tar.gz
MultiMC-4548930e34f5bc325c62ac5b6c5a1701ce914683.tar.lz
MultiMC-4548930e34f5bc325c62ac5b6c5a1701ce914683.tar.xz
MultiMC-4548930e34f5bc325c62ac5b6c5a1701ce914683.zip
Open the url direectly.
Diffstat (limited to 'gui/ConsoleWindow.cpp')
-rw-r--r--gui/ConsoleWindow.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp
index f08f10de..5db4442e 100644
--- a/gui/ConsoleWindow.cpp
+++ b/gui/ConsoleWindow.cpp
@@ -189,11 +189,7 @@ void ConsoleWindow::on_btnPaste_clicked()
ProgressDialog dialog(this);
PasteUpload* paste=new PasteUpload(this, text);
dialog.exec(paste);
- if(paste->successful())
- {
- paste->messageBox()->exec();
- }
- else
+ if(!paste->successful())
{
CustomMessageBox::selectable(this, "Upload failed", paste->failReason(), QMessageBox::Critical)->exec();
}