diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-26 04:00:54 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-05-26 04:00:54 -0400 |
| commit | c82c7af678c088a6b94fc8a4a0f31fc9498e8220 (patch) | |
| tree | 5732efc9937dba3dd77d6566b62284db284315bf /src/modinfodialog.cpp | |
| parent | 76708b9694070bcaa5775a097ae73ffc163ca31b (diff) | |
changed rest of ShellExecuteW() calls to use shell::Execute(), shell::OpenLink() or shell::OpenFile()
Diffstat (limited to 'src/modinfodialog.cpp')
| -rw-r--r-- | src/modinfodialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modinfodialog.cpp b/src/modinfodialog.cpp index c3ef7c47..19a03ea7 100644 --- a/src/modinfodialog.cpp +++ b/src/modinfodialog.cpp @@ -1075,10 +1075,9 @@ void ModInfoDialog::linkClicked(const QUrl &url) //Ideally we'd ask the mod for the game and the web service then pass the game //and URL to the web service if (NexusInterface::instance(m_PluginContainer)->isURLGameRelated(url)) { - emit linkActivated(url.toString()); } else { - ::ShellExecuteW(nullptr, L"open", ToWString(url.toString()).c_str(), nullptr, nullptr, SW_SHOWNORMAL); + shell::OpenLink(url); } } |
