External browser testing...

This commit is contained in:
Martin Rotter 2014-01-20 20:42:28 +01:00
parent b5fac71dd0
commit 3d90bcd347

View File

@ -235,8 +235,9 @@ void MessagesView::openSelectedSourceArticlesExternally() {
foreach (const QModelIndex &index, selectionModel()->selectedRows()) {
QString link = m_sourceModel->messageAt(m_proxyModel->mapToSource(index).row()).m_url;
QDesktopServices::openUrl(QUrl(link));
QProcess::startDetached('\"' + browser + "\"");
continue;
#if defined(Q_OS_LINUX)
if (!QProcess::startDetached(browser + ' ' + arguments.arg(link))) {
#else