diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-05-26 12:24:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-26 12:24:02 +0200 |
| commit | 2caa688e5581849441b1c96e4a2d357e9241f74a (patch) | |
| tree | c99b83f84f4be692663be4256e9ec955f4258e7e /src/motddialog.cpp | |
| parent | 2d58ad346c9e8840d3864080d62999e686962a76 (diff) | |
| parent | 21185182c6551d053cccdcf087e0c219a3785cf8 (diff) | |
Merge pull request #731 from isanae/filetree-dds-preview-630
Add preview to filetree, some refactoring
Diffstat (limited to 'src/motddialog.cpp')
| -rw-r--r-- | src/motddialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/motddialog.cpp b/src/motddialog.cpp index 96d88542..9be41d96 100644 --- a/src/motddialog.cpp +++ b/src/motddialog.cpp @@ -21,6 +21,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include "bbcode.h"
#include "utility.h"
#include "ui_motddialog.h"
+#include "organizercore.h"
#include <Shlwapi.h>
MotDDialog::MotDDialog(const QString &message, QWidget *parent)
@@ -43,5 +44,5 @@ void MotDDialog::on_okButton_clicked() void MotDDialog::linkClicked(const QUrl &url)
{
- ::ShellExecuteW(nullptr, L"open", MOBase::ToWString(url.toString()).c_str(), nullptr, nullptr, SW_SHOWNORMAL);
+ shell::OpenLink(url);
}
|
