From 9ec158dceea37c9d783a8439d3c1253186efbbda Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Tue, 19 Feb 2019 03:24:52 -0600 Subject: Fix for Steam being run as administrator Previously, when Steam was run as administrator, MO couldn't access the process therefore couldn't detect it. Now, an alternative method for listing processes is now being used in order to determine if Steam is running. Additionally, MO will detect if Steam is admin and MO is not and prompt the user if they want to restart MO as admin. --- src/organizercore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/organizercore.h') diff --git a/src/organizercore.h b/src/organizercore.h index 0a4cff6c..2757aaf3 100644 --- a/src/organizercore.h +++ b/src/organizercore.h @@ -272,7 +272,7 @@ private: void updateModActiveState(int index, bool active); void updateModsActiveState(const QList &modIndices, bool active); - bool testForSteam(); + bool testForSteam(bool *found, bool *access); bool createDirectory(const QString &path); -- cgit v1.3.1