From 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Nov 2011 17:42:48 -0600 Subject: Fix FTBFS --- src/gui/configuration/AudioConfigurationPage.cpp | 2 +- src/gui/configuration/NotationConfigurationPage.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/configuration') diff --git a/src/gui/configuration/AudioConfigurationPage.cpp b/src/gui/configuration/AudioConfigurationPage.cpp index e7d6128..90403b7 100644 --- a/src/gui/configuration/AudioConfigurationPage.cpp +++ b/src/gui/configuration/AudioConfigurationPage.cpp @@ -119,7 +119,7 @@ AudioConfigurationPage::AudioConfigurationPage( TQString defaultAudioEditor = getBestAvailableAudioEditor(); - std::cerr << "defaultAudioEditor = " << defaultAudioEditor << std::endl; + std::cerr << "defaultAudioEditor = " << defaultAudioEditor.ascii() << std::endl; TQString externalAudioEditor = m_cfg->readEntry("externalaudioeditor", defaultAudioEditor); 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())); } } -- cgit v1.2.1