diff --git a/Windows.md b/Windows.md index 48b0748..13c52da 100644 --- a/Windows.md +++ b/Windows.md @@ -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() ) {