c++ - QDesktopServices::storageLocation returns admin folder after elevating program -
parts of application suite (client + updater) needs administrator rights correct behaviour. client application uses qdesktopservices::storagelocation() in various places correct user profile path saving user specific data. im using qdesktopservice::storagelocation() in elevated application path changes admin user, makes difficult control.
like "c:\users\basic_user\appdata\local" "c:\users\admin\appdata\local".
is there way deal qt or possibility use winapi?
what "right way" when facing scenario of having elevated app 1 still needs operate in user space.
regards, adrian
Comments
Post a Comment