diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-02-24 11:30:27 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-02-24 11:30:27 +0100 |
commit | da33fa4090b4510267d06b3fd3ec439ff563b80e (patch) | |
tree | 31e167a82193b607c57c1c94b05ff22d14f4b44d /gui/MainWindow.cpp | |
parent | a8811a27f78698f1ab2acad47e90f3b16274e221 (diff) | |
download | MultiMC-da33fa4090b4510267d06b3fd3ec439ff563b80e.tar MultiMC-da33fa4090b4510267d06b3fd3ec439ff563b80e.tar.gz MultiMC-da33fa4090b4510267d06b3fd3ec439ff563b80e.tar.lz MultiMC-da33fa4090b4510267d06b3fd3ec439ff563b80e.tar.xz MultiMC-da33fa4090b4510267d06b3fd3ec439ff563b80e.zip |
Imgur album creation
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r-- | gui/MainWindow.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 93608a0e..559c2f48 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -81,7 +81,6 @@ #include "logic/net/URLConstants.h" #include "logic/net/NetJob.h" -#include "logic/net/ScreenshotUploader.h" #include "logic/BaseInstance.h" #include "logic/InstanceFactory.h" @@ -1519,13 +1518,7 @@ void MainWindow::on_actionScreenshots_triggered() ScreenshotDialog dialog(list, this); if (dialog.exec() == ScreenshotDialog::Accepted) { - QStringList urls; - for (ScreenShot *shot : dialog.uploaded()) - { - urls << QString("<a href=\"" + shot->url + "\">Image %1</a>") - .arg(shot->timestamp.toString()); - } - CustomMessageBox::selectable(this, tr("Done uploading!"), urls.join("\n"), + CustomMessageBox::selectable(this, tr("Done uploading!"), dialog.message(), QMessageBox::Information)->exec(); } } |