mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
Open the url direectly.
This commit is contained in:
parent
e2728317e7
commit
4548930e34
3 changed files with 3 additions and 12 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue