diff options
Diffstat (limited to 'Windows.md')
-rw-r--r-- | Windows.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() ) { |