From 40a8302115d6bcc171b314c7d3b4e574b08b66b0 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 24 Oct 2015 12:41:08 +0200 Subject: QtBase: remove explicit function info from qWarning() etc This information is already registered by the QMessageLogger ctor. Where, by dropping the << Q_FUNC_INFO in ostream-style qDebug(), only a string literal remained, converted to printf-style qDebug() on the go. Change-Id: I3f261c98fd7bcfa1fead381a75a82713bb75e6f3 Reviewed-by: Olivier Goffart (Woboq GmbH) --- src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp') diff --git a/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp b/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp index a3f86be88b..8cf4961dff 100644 --- a/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp +++ b/src/plugins/platforms/qnx/qqnxrasterbackingstore.cpp @@ -53,14 +53,14 @@ QQnxRasterBackingStore::QQnxRasterBackingStore(QWindow *window) m_needsPosting(false), m_scrolled(false) { - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window; + qRasterBackingStoreDebug() << "w =" << window; m_window = window; } QQnxRasterBackingStore::~QQnxRasterBackingStore() { - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window(); + qRasterBackingStoreDebug() << "w =" << window(); } QPaintDevice *QQnxRasterBackingStore::paintDevice() @@ -75,7 +75,7 @@ void QQnxRasterBackingStore::flush(QWindow *window, const QRegion ®ion, const { Q_UNUSED(offset) - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << this->window(); + qRasterBackingStoreDebug() << "w =" << this->window(); // Sometimes this method is called even though there is nothing to be // flushed (posted in "screen" parlance), for instance, after an expose @@ -103,7 +103,7 @@ void QQnxRasterBackingStore::resize(const QSize &size, const QRegion &staticCont { Q_UNUSED(size); Q_UNUSED(staticContents); - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window() << ", s =" << size; + qRasterBackingStoreDebug() << "w =" << window() << ", s =" << size; // NOTE: defer resizing window buffers until next paint as // resize() can be called multiple times before a paint occurs @@ -111,7 +111,7 @@ void QQnxRasterBackingStore::resize(const QSize &size, const QRegion &staticCont bool QQnxRasterBackingStore::scroll(const QRegion &area, int dx, int dy) { - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window(); + qRasterBackingStoreDebug() << "w =" << window(); m_needsPosting = true; @@ -127,7 +127,7 @@ void QQnxRasterBackingStore::beginPaint(const QRegion ®ion) { Q_UNUSED(region); - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window(); + qRasterBackingStoreDebug() << "w =" << window(); m_needsPosting = true; platformWindow()->adjustBufferSize(); @@ -154,7 +154,7 @@ void QQnxRasterBackingStore::beginPaint(const QRegion ®ion) void QQnxRasterBackingStore::endPaint() { - qRasterBackingStoreDebug() << Q_FUNC_INFO << "w =" << window(); + qRasterBackingStoreDebug() << "w =" << window(); } QQnxRasterWindow *QQnxRasterBackingStore::platformWindow() const -- cgit v1.2.3