diff --git a/src/autoprofileinfo.cpp b/src/autoprofileinfo.cpp index 8f1dd0ddd..9ca4c25c3 100644 --- a/src/autoprofileinfo.cpp +++ b/src/autoprofileinfo.cpp @@ -82,6 +82,12 @@ void AutoProfileInfo::setExe(QString exe) { this->exe = exe; } +#ifdef Q_OS_WIN + else if (exe != this->exe && info.suffix() == "exe") + { + this->exe = exe; + } +#endif } else { this->exe = exe;