Fixed unused variable warning in diagramscene example.
Change-Id: I85cc038602e22c140f0564b15ebcb3872750b162 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
This commit is contained in:
parent
5159379c10
commit
91a5e272c5
@ -304,7 +304,6 @@ void MainWindow::itemSelected(QGraphicsItem *item)
|
||||
qgraphicsitem_cast<DiagramTextItem *>(item);
|
||||
|
||||
QFont font = textItem->font();
|
||||
QColor color = textItem->defaultTextColor();
|
||||
fontCombo->setCurrentFont(font);
|
||||
fontSizeCombo->setEditText(QString().setNum(font.pointSize()));
|
||||
boldAction->setChecked(font.weight() == QFont::Bold);
|
||||
|
Loading…
Reference in New Issue
Block a user