Update SingleApplication to latest upstream sources

This commit is contained in:
Laurent Trinques
2020-01-08 14:27:52 +01:00
parent 7ebc395f8b
commit 5e63ac316c
7 changed files with 138 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ Here is an example:
```cpp
if( app.isSecondary() ) {
// This API requires LIBS += User32.lib to be added to the project
AllowSetForegroundWindow( DWORD( app.getPrimaryPid() ) );
AllowSetForegroundWindow( DWORD( app.primaryPid() ) );
}
if( app.isPrimary() ) {