Hopefully fixed problem with external browsers.
This commit is contained in:
parent
1cf548bfb3
commit
4e7c5bd01a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue