diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 23:40:10 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 23:40:10 +0000 |
commit | c856c3c44f488b137dd3b76f81b2d4b9c5444b73 (patch) | |
tree | 88a64ae28e48d4f71396d329b0d1c797b31accc3 /muse2/muse/help.cpp | |
parent | 1e2c10156202d4b50df409a1930adc3f151e44dc (diff) |
Converted all latin1() instances. Ported Qt3 methods to Qt4.
Diffstat (limited to 'muse2/muse/help.cpp')
-rw-r--r-- | muse2/muse/help.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/help.cpp b/muse2/muse/help.cpp index f0d7b666..268449e6 100644 --- a/muse2/muse/help.cpp +++ b/muse2/muse/help.cpp @@ -26,9 +26,9 @@ void MusE::startHelpBrowser() { QString lang(getenv("LANG")); QString museHelp = museGlobalShare + QString("/html/index_") + lang + QString(".html"); - if (access(museHelp.latin1(), R_OK) != 0) { + if (access(museHelp.toLatin1(), R_OK) != 0) { museHelp = museGlobalShare + QString("/html/index.html"); - if (access(museHelp.latin1(), R_OK) != 0) { + if (access(museHelp.toLatin1(), R_OK) != 0) { QString info(tr("no help found at: ")); info += museHelp; QMessageBox::critical(this, tr("MusE: Open Help"), info); @@ -84,7 +84,7 @@ void MusE::launchBrowser(QString &whereTo) { char testStr[40]; strcpy(testStr, "which "); - strcat(testStr, config.helpBrowser.latin1()); + strcat(testStr, config.helpBrowser.toLatin1()); if (config.helpBrowser == "" || system(testStr)) { QMessageBox::information( this, "Unable to launch help", |