diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-07-21 10:51:16 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-07-21 10:51:16 +0200 |
commit | 8908c33398b2ce7e1e15f404cafb7865fd6c5543 (patch) | |
tree | f0e8fa2137d0535a0f51aff85a23874075405cc7 /src/plugins | |
parent | f053ec8c1498261db2d079bce20ef8b28d418982 (diff) | |
download | qt-creator-8908c33398b2ce7e1e15f404cafb7865fd6c5543.tar.gz |
Fixed compile warning about unused variable
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/texteditor/fontsettingspage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index a7370094f9..5a8e457768 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -367,7 +367,7 @@ QWidget *FontSettingsPage::createPage(QWidget *parent) void FontSettingsPage::fontFamilySelected(const QString &family) { - d_ptr->m_value.setFamily(d_ptr->ui.familyComboBox->currentText()); + d_ptr->m_value.setFamily(family); d_ptr->ui.schemeEdit->setBaseFont(d_ptr->m_value.font()); updatePointSizes(); } |