diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qscreen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qscreen.h b/src/gui/kernel/qscreen.h index 6c142162fe..2d88413ad6 100644 --- a/src/gui/kernel/qscreen.h +++ b/src/gui/kernel/qscreen.h @@ -129,7 +129,7 @@ public: bool isPortrait(Qt::ScreenOrientation orientation) const; bool isLandscape(Qt::ScreenOrientation orientation) const; - QPixmap grabWindow(WId window, int x, int y, int w, int h); + QPixmap grabWindow(WId window, int x = 0, int y = 0, int w = -1, int h = -1); qreal refreshRate() const; |