diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-10 12:40:29 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-10 12:40:56 +0200 |
commit | 6b0cd62e5ecad075c4528d3a09ec903ab057680e (patch) | |
tree | daa08ef647df36a774c5ce78738dffb9c2d154bf /src/gui/kernel/qplatformwindow_qpa.cpp | |
parent | f56a905ced02b387f6ac7f482f997629f27bcf89 (diff) |
Added frameMargins() API and support in XCB plugin.
Diffstat (limited to 'src/gui/kernel/qplatformwindow_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformwindow_qpa.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow_qpa.cpp b/src/gui/kernel/qplatformwindow_qpa.cpp index cba5529df4..feffd0cfed 100644 --- a/src/gui/kernel/qplatformwindow_qpa.cpp +++ b/src/gui/kernel/qplatformwindow_qpa.cpp @@ -108,6 +108,11 @@ QRect QPlatformWindow::geometry() const return d->rect; } +QMargins QPlatformWindow::frameMargins() const +{ + return QMargins(); +} + /*! Reimplemented in subclasses to show the surface if \a visible is \c true, and hide it if \a visible is \c false. |