diff options
author | Leander Schulten <Leander.Schulten@rwth-aachen.de> | 2020-03-27 08:00:14 +0100 |
---|---|---|
committer | Leander Schulten <Leander.Schulten@rwth-aachen.de> | 2020-03-27 08:00:14 +0100 |
commit | 5fff2202b513f00e553e1ec955909db5815a189f (patch) | |
tree | e13f97f297a99b3609def98073fa3a65bdd8d252 /README.md | |
parent | The codec for string from qgetenv and pw->pw_name is not necessarily utf8. So... (diff) | |
download | singleapplication-5fff2202b513f00e553e1ec955909db5815a189f.tar.xz |
Add SingleApplication::currentUser()
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -214,6 +214,14 @@ QString SingleApplication::primaryUser() Returns the username the primary instance is running as. +--- + +```cpp +QString SingleApplication::currentUser() +``` + +Returns the username the current instance is running as. + ### Signals ```cpp |