diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-11 11:39:09 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-11 14:07:03 (GMT) |
commit | 35e2a2978a2318ca025393a8f67d30746c8b78fc (patch) | |
tree | f96f760ebd7e9c9f7a1f8d5f4400a03a1ae69e44 /src/gui/painting/qbackingstore.cpp | |
parent | 3f7a7c20c8493f62e090e703acfd581a4e3c4d2e (diff) | |
download | Qt-35e2a2978a2318ca025393a8f67d30746c8b78fc.zip Qt-35e2a2978a2318ca025393a8f67d30746c8b78fc.tar.gz Qt-35e2a2978a2318ca025393a8f67d30746c8b78fc.tar.bz2 |
Removed qApp and replaced with QApplication:: for static member calls
Diffstat (limited to 'src/gui/painting/qbackingstore.cpp')
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index 0a3a8dd..25dab4c 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -758,7 +758,7 @@ void QWidgetBackingStore::paintWindowDecoration() engine->setSystemClip(decorationRegion.translated(tlwOffset)); QPainter painter(windowSurface->paintDevice()); - painter.setFont(qApp->font()); + painter.setFont(QApplication::font()); painter.translate(tlwOffset); const int numDirty = managerPrivate->dirtyRegions.size(); @@ -1347,7 +1347,7 @@ void QWidgetBackingStore::flush(QWidget *widget, QWindowSurface *surface) static inline bool discardInvalidateBufferRequest(QWidget *widget, QTLWExtra *tlwExtra) { Q_ASSERT(widget); - if (qApp && qApp->closingDown()) + if (QApplication::closingDown()) return true; if (!tlwExtra || tlwExtra->inTopLevelResize || !tlwExtra->backingStore) |