Ensure windows.h is included first before shellapi.h

This commit is contained in:
baldurk
2017-02-15 10:44:05 +00:00
parent 71c05ed572
commit 72921f2642
+2 -1
View File
@@ -675,8 +675,9 @@ protected:
};
#if defined(Q_OS_WIN32)
#include <shellapi.h>
#include <windows.h>
#include <shellapi.h>
#endif
bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList &params,