From f973bb1730e1138f9c745d142c1f2f5d9c53b456 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Tue, 31 Jan 2012 13:58:44 +1000 Subject: Fix compile failures. Remove uses of QLineControl, QTextControl and QBool and forward declared QGraphicsWidget. Change-Id: Ic5184a1d5aebfb1100ad0e24444b6773f4e617e8 Reviewed-by: Matthew Vogt --- src/declarative/graphicsitems/qdeclarativetext.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/declarative/graphicsitems/qdeclarativetext.cpp') diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index 4d0e5829..6ab599b5 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -1106,7 +1106,6 @@ bool QDeclarativeTextPrivate::setHAlign(QDeclarativeText::HAlignment alignment, { Q_Q(QDeclarativeText); if (hAlign != alignment || forceAlign) { - QDeclarativeText::HAlignment oldEffectiveHAlign = q->effectiveHAlign(); hAlign = alignment; emit q->horizontalAlignmentChanged(hAlign); return true; -- cgit v1.2.3