From 91a5e272c55ef08b4360d5fd7d3b08fca0ff7b82 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 18 May 2012 12:15:19 +0200 Subject: [PATCH] Fixed unused variable warning in diagramscene example. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I85cc038602e22c140f0564b15ebcb3872750b162 Reviewed-by: Jędrzej Nowacki Reviewed-by: Olivier Goffart --- examples/graphicsview/diagramscene/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/graphicsview/diagramscene/mainwindow.cpp b/examples/graphicsview/diagramscene/mainwindow.cpp index ca98838b7a..977730a3bb 100644 --- a/examples/graphicsview/diagramscene/mainwindow.cpp +++ b/examples/graphicsview/diagramscene/mainwindow.cpp @@ -304,7 +304,6 @@ void MainWindow::itemSelected(QGraphicsItem *item) qgraphicsitem_cast(item); QFont font = textItem->font(); - QColor color = textItem->defaultTextColor(); fontCombo->setCurrentFont(font); fontSizeCombo->setEditText(QString().setNum(font.pointSize())); boldAction->setChecked(font.weight() == QFont::Bold);