Activate window if second instance is launched.

Regression was introduced in 275ec3e679.
This commit is contained in:
John Preston 2018-06-06 12:06:07 +03:00
parent 777bf7d8d9
commit 50b78034a5

View File

@ -140,10 +140,11 @@ void Application::socketConnected() {
const QStringList &lst(cSendPaths());
for (QStringList::const_iterator i = lst.cbegin(), e = lst.cend(); i != e; ++i) {
commands += qsl("SEND:") + _escapeTo7bit(*i) + ';';
commands += qsl("CMD:show;");
}
if (!cStartUrl().isEmpty()) {
commands += qsl("OPEN:") + _escapeTo7bit(cStartUrl()) + ';';
} else {
commands += qsl("CMD:show;");
}
DEBUG_LOG(("Application Info: writing commands %1").arg(commands));