mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-25 13:38:44 +01:00
Hopefully fixed problem with external browsers.
This commit is contained in:
parent
1cf548bfb3
commit
4e7c5bd01a
@ -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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user