mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Activate window if second instance is launched.
Regression was introduced in 275ec3e679
.
This commit is contained in:
parent
777bf7d8d9
commit
50b78034a5
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue