summaryrefslogtreecommitdiff
path: root/src/motddialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/motddialog.cpp')
-rw-r--r--src/motddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/motddialog.cpp b/src/motddialog.cpp
index 9fa2f005..59ace4d1 100644
--- a/src/motddialog.cpp
+++ b/src/motddialog.cpp
@@ -45,5 +45,5 @@ void MotDDialog::on_okButton_clicked()
void MotDDialog::linkClicked(const QUrl &url)
{
- ::ShellExecuteW(NULL, L"open", MOBase::ToWString(url.toString()).c_str(), NULL, NULL, SW_SHOWNORMAL);
+ ::ShellExecuteW(nullptr, L"open", MOBase::ToWString(url.toString()).c_str(), nullptr, nullptr, SW_SHOWNORMAL);
}