Hopefully fixed problem with external browsers.

This commit is contained in:
Martin Rotter 2014-02-13 19:55:09 +01:00
parent 1cf548bfb3
commit 4e7c5bd01a

View File

@ -231,7 +231,8 @@ void MessagesView::openSelectedSourceArticlesExternally() {
foreach (const QModelIndex &index, selectionModel()->selectedRows()) {
QString link = m_sourceModel->messageAt(m_proxyModel->mapToSource(index).row()).m_url;
if (!QProcess::startDetached('\"' + browser + "\" \"" + arguments.arg(link) + "\"")) {
if (!QProcess::startDetached(browser,
QStringList() << arguments.arg(link))) {
MessageBox::show(this,
QMessageBox::Critical,
tr("Problem with starting external web browser"),