summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-07-21 10:51:16 +0200
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-07-21 10:51:16 +0200
commit8908c33398b2ce7e1e15f404cafb7865fd6c5543 (patch)
treef0e8fa2137d0535a0f51aff85a23874075405cc7 /src/plugins
parentf053ec8c1498261db2d079bce20ef8b28d418982 (diff)
downloadqt-creator-8908c33398b2ce7e1e15f404cafb7865fd6c5543.tar.gz
Fixed compile warning about unused variable
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/texteditor/fontsettingspage.cpp2
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();
}