summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2011-11-02 07:29:20 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-15 09:34:13 (GMT)
commit412b92e5348e82c59cee30d83fc8d0c264fb5260 (patch)
tree6a236355113bfae532860464b4b6638d79d9ba68 /src/gui/text
parent9912af2108398b8633f91300c455455f6e16e482 (diff)
downloadQt-412b92e5348e82c59cee30d83fc8d0c264fb5260.zip
Qt-412b92e5348e82c59cee30d83fc8d0c264fb5260.tar.gz
Qt-412b92e5348e82c59cee30d83fc8d0c264fb5260.tar.bz2
Fixed compiler warnings about unused q and d pointers.
The q and d pointers were not used in these functions at all, or they were used only inside some #ifdef quard such as QT_NO_ACCESSIBILITY. Moved the Q_D and Q_Q macros inside the appropriate scope. Task-number: QTBUG-22512 Change-Id: I1624a1d800c7ce21cde4af1678d93e6f615edd45 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qtextcontrol.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/text/qtextcontrol.cpp b/src/gui/text/qtextcontrol.cpp
index 1f81463..a0a4e76 100644
--- a/src/gui/text/qtextcontrol.cpp
+++ b/src/gui/text/qtextcontrol.cpp
@@ -405,7 +405,6 @@ void QTextControlPrivate::createAutoBulletList()
void QTextControlPrivate::init(Qt::TextFormat format, const QString &text, QTextDocument *document)
{
- Q_Q(QTextControl);
setContent(format, text, document);
doc->setUndoRedoEnabled(interactionFlags & Qt::TextEditable);