diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-02 05:54:36 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-02 05:54:36 +0000 |
commit | 657ba10e4ec0fd5a5a57d0ebf9172b534a66c889 (patch) | |
tree | 8e8f5f3c41f7656536a3a7e5a72334ed60f8c2c2 /muse2/muse/help.cpp | |
parent | ffe6b074794c48f8f5e9428911bbad72a257f15a (diff) |
Please see the ChangeLog
Diffstat (limited to 'muse2/muse/help.cpp')
-rw-r--r-- | muse2/muse/help.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/muse2/muse/help.cpp b/muse2/muse/help.cpp index 82d900f1..f0d7b666 100644 --- a/muse2/muse/help.cpp +++ b/muse2/muse/help.cpp @@ -8,8 +8,9 @@ #include <unistd.h> #include <stdlib.h> -#include <qmessagebox.h> -#include <q3process.h> + +#include <QMessageBox> +#include <QProcess> #include "app.h" #include "globals.h" @@ -98,11 +99,12 @@ void MusE::launchBrowser(QString &whereTo) QString exe = QString("/bin/sh"); if(QFile::exists(exe)) { - Q3Process helper(this); - helper.addArgument(exe); - helper.addArgument("-c"); - helper.addArgument(config.helpBrowser + " " + whereTo); - helper.start(); + // Orcan: Shall we use this instead? Opens the default browser of the user: + // QDesktopServices::openUrl(QUrl(whereTo)); + QStringList arguments; + arguments << "-c" << config.helpBrowser << whereTo; + QProcess helper; + helper.start(exe, arguments); } else { |