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/editors/notation/NotePixmapFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/editors/notation/NotePixmapFactory.cpp') diff --git a/src/gui/editors/notation/NotePixmapFactory.cpp b/src/gui/editors/notation/NotePixmapFactory.cpp index ac9064a..2ff4969 100644 --- a/src/gui/editors/notation/NotePixmapFactory.cpp +++ b/src/gui/editors/notation/NotePixmapFactory.cpp @@ -193,7 +193,7 @@ NotePixmapFactory::init(std::string fontName, int size) m_style = NoteStyleFactory::getStyle(NoteStyleFactory::DefaultStyle); } catch (NoteStyleFactory::StyleUnavailable u) { KStartupLogo::hideIfStillThere(); - KMessageBox::error(0, i18n(strtoqstr(u.getMessage()))); + KMessageBox::error(0, i18n(strtoqstr(u.getMessage()).ascii())); throw; } @@ -1969,7 +1969,7 @@ NotePixmapFactory::makeNoteMenuPixmap(timeT duration, if (triplet) noteName = "3-" + noteName; noteName = "menu-" + noteName; - return makeToolbarPixmap(noteName); + return makeToolbarPixmap(noteName.ascii()); } TQCanvasPixmap * -- cgit v1.2.3