mirror of
https://github.com/feather-wallet/feather.git
synced 2024-10-30 08:57:39 +00:00
Merge pull request 'externalLinkWarning: minor fixes' (#326) from tobtoht/feather:external_link_fix into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/326
This commit is contained in:
commit
0a7261d05d
1 changed files with 2 additions and 1 deletions
|
@ -165,12 +165,13 @@ void Utils::externalLinkWarning(QWidget *parent, const QString &url){
|
||||||
body += "\n\nYou will NOT be using Tor.";
|
body += "\n\nYou will NOT be using Tor.";
|
||||||
|
|
||||||
|
|
||||||
QMessageBox linkWarning;
|
QMessageBox linkWarning(parent);
|
||||||
linkWarning.setWindowTitle("External link warning");
|
linkWarning.setWindowTitle("External link warning");
|
||||||
linkWarning.setText(body);
|
linkWarning.setText(body);
|
||||||
QPushButton *copy = linkWarning.addButton("Copy link", QMessageBox::HelpRole);
|
QPushButton *copy = linkWarning.addButton("Copy link", QMessageBox::HelpRole);
|
||||||
linkWarning.addButton(QMessageBox::Cancel);
|
linkWarning.addButton(QMessageBox::Cancel);
|
||||||
linkWarning.addButton(QMessageBox::Ok);
|
linkWarning.addButton(QMessageBox::Ok);
|
||||||
|
linkWarning.setDefaultButton(QMessageBox::Ok);
|
||||||
|
|
||||||
linkWarning.exec();
|
linkWarning.exec();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue