summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/NotationConfigurationPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/configuration/NotationConfigurationPage.cpp')
-rw-r--r--src/gui/configuration/NotationConfigurationPage.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/configuration/NotationConfigurationPage.cpp b/src/gui/configuration/NotationConfigurationPage.cpp
index e132a25..4296773 100644
--- a/src/gui/configuration/NotationConfigurationPage.cpp
+++ b/src/gui/configuration/NotationConfigurationPage.cpp
@@ -592,7 +592,7 @@ NotationConfigurationPage::slotViewButtonPressed()
(void)viewer->exec(); // no return value
}
} catch (Exception f) {
- KMessageBox::error(0, i18n(strtoqstr(f.getMessage())));
+ KMessageBox::error(0, i18n(strtoqstr(f.getMessage()).ascii()));
}
#endif
}
@@ -656,21 +656,21 @@ NotationConfigurationPage::slotFontComboChanged(int index)
NoteFont *noteFont = NoteFontFactory::getFont
(fontStr, NoteFontFactory::getDefaultSize(fontStr));
const NoteFontMap &map(noteFont->getNoteFontMap());
- m_fontOriginLabel->setText(i18n(strtoqstr(map.getOrigin())));
- m_fontCopyrightLabel->setText(i18n(strtoqstr(map.getCopyright())));
- m_fontMappedByLabel->setText(i18n(strtoqstr(map.getMappedBy())));
+ m_fontOriginLabel->setText(i18n(strtoqstr(map.getOrigin()).ascii()));
+ m_fontCopyrightLabel->setText(i18n(strtoqstr(map.getCopyright()).ascii()));
+ m_fontMappedByLabel->setText(i18n(strtoqstr(map.getMappedBy()).ascii()));
if (map.isSmooth()) {
m_fontTypeLabel->setText(
- i18n("%1 (smooth)").tqarg(i18n(strtoqstr(map.getType()))));
+ i18n("%1 (smooth)").tqarg(i18n(strtoqstr(map.getType()).ascii())));
} else {
m_fontTypeLabel->setText(
- i18n("%1 (jaggy)").tqarg(i18n(strtoqstr(map.getType()))));
+ i18n("%1 (jaggy)").tqarg(i18n(strtoqstr(map.getType()).ascii())));
}
if (m_viewButton) {
m_viewButton->setEnabled(map.getSystemFontNames().count() > 0);
}
} catch (Exception f) {
- KMessageBox::error(0, i18n(strtoqstr(f.getMessage())));
+ KMessageBox::error(0, i18n(strtoqstr(f.getMessage()).ascii()));
}
}