From 0c71fbffd45450fcaafddebd5a3b44db52b1ebb5 Mon Sep 17 00:00:00 2001
From: Juraj Fedel <wtxnh-scribus@yahoo.com.au>
Date: Wed, 30 Mar 2016 17:57:42 +0200
Subject: [PATCH] Unresponsive Scribus while external browser run

---
 scribus/urllauncher.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scribus/urllauncher.cpp b/scribus/urllauncher.cpp
index b384c59..859e73f 100644
--- a/scribus/urllauncher.cpp
+++ b/scribus/urllauncher.cpp
@@ -71,8 +71,8 @@ void UrlLauncher::launchUrlExt(const QUrl& link, QWidget *parent)
 		{
 			QStringList args;
 			args << link.toString();
-			int ret=System(extBrowser, args);
-			if (ret!=0)
+			bool ok = QProcess::startDetached(extBrowser, args);
+			if (!ok)
 			{
 				QMessageBox::StandardButton sb=ScMessageBox::critical(p, tr("External Web Browser Failed to Start"), tr("Scribus was not able to start the external web browser application %1. Please check the setting in Preferences.\nWould you like to start the system's default browser instead?").arg(PrefsManager::instance()->extBrowserExecutable()), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok);
 				if (sb==QMessageBox::Ok)
-- 
2.1.4

