diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-08 00:22:51 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-08 00:22:51 +0000 |
commit | f681783c513b54002aa4dfec2566f26bfc38689b (patch) | |
tree | 1aad8f37fd067cd36b2d4de1ae3b62b584914b20 /muse2/muse/app.cpp | |
parent | c856c3c44f488b137dd3b76f81b2d4b9c5444b73 (diff) |
Some fixes to the previous commit. Apparently I missed to filter a case.
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r-- | muse2/muse/app.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp index ba261460..3c73efc1 100644 --- a/muse2/muse/app.cpp +++ b/muse2/muse/app.cpp @@ -3354,7 +3354,8 @@ void MusE::openRecentMenu() for (int i = 0; i < PROJECT_LIST_LEN; ++i) { if (projectList[i] == 0) break; - const char* path = projectList[i]->toLatin1().constData(); + QByteArray ba = projectList[i]->toLatin1(); + const char* path = ba.constData(); const char* p = strrchr(path, '/'); if (p == 0) p = path; |