aboutsummaryrefslogtreecommitdiff
path: root/Windows.md
diff options
context:
space:
mode:
Diffstat (limited to 'Windows.md')
-rw-r--r--Windows.md2
1 files changed, 1 insertions, 1 deletions
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() ) {