External browser testing...
This commit is contained in:
parent
15b2bfefbc
commit
b5fac71dd0
@ -11,6 +11,7 @@
|
||||
#include <QMenu>
|
||||
#include <QMessageBox>
|
||||
#include <QProcess>
|
||||
#include <QDesktopServices>
|
||||
|
||||
|
||||
MessagesView::MessagesView(QWidget *parent)
|
||||
@ -234,6 +235,8 @@ 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));
|
||||
continue;
|
||||
#if defined(Q_OS_LINUX)
|
||||
if (!QProcess::startDetached(browser + ' ' + arguments.arg(link))) {
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user