Working screenshot upload
This commit is contained in:
parent
226c1bdae5
commit
a8811a27f7
7 changed files with 84 additions and 69 deletions
|
@ -1522,8 +1522,8 @@ void MainWindow::on_actionScreenshots_triggered()
|
|||
QStringList urls;
|
||||
for (ScreenShot *shot : dialog.uploaded())
|
||||
{
|
||||
urls << QString("<a href=\"" + shot->url + "\">Image %s</a>")
|
||||
.arg(QString::number(shot->imgurIndex));
|
||||
urls << QString("<a href=\"" + shot->url + "\">Image %1</a>")
|
||||
.arg(shot->timestamp.toString());
|
||||
}
|
||||
CustomMessageBox::selectable(this, tr("Done uploading!"), urls.join("\n"),
|
||||
QMessageBox::Information)->exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue