diff options
Diffstat (limited to 'src/motddialog.cpp')
| -rw-r--r-- | src/motddialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/motddialog.cpp b/src/motddialog.cpp index fbadf5fd..1bf11a7f 100644 --- a/src/motddialog.cpp +++ b/src/motddialog.cpp @@ -33,16 +33,16 @@ MotDDialog::MotDDialog(const QString &message, QWidget *parent) } MotDDialog::~MotDDialog() -{
- delete ui;
-}
-
-void MotDDialog::on_okButton_clicked()
+{ + delete ui; +} + +void MotDDialog::on_okButton_clicked() { this->close(); } void MotDDialog::linkClicked(const QUrl &url) { - ::ShellExecuteW(NULL, L"open", ToWString(url.toString()).c_str(), NULL, NULL, SW_SHOWNORMAL); + ::ShellExecuteW(NULL, L"open", MOBase::ToWString(url.toString()).c_str(), NULL, NULL, SW_SHOWNORMAL); } |
