diff options
author | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-26 17:42:48 -0600 |
commit | 4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch) | |
tree | 995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/editors/notation/NotePixmapFactory.cpp | |
parent | 1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff) | |
download | rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip |
Fix FTBFS
Diffstat (limited to 'src/gui/editors/notation/NotePixmapFactory.cpp')
-rw-r--r-- | src/gui/editors/notation/NotePixmapFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 * |