mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
SocketAPI: Send Broadcasts only for Linux, not used on Mac and Win.
This commit is contained in:
parent
aad5c96759
commit
4fb671e7f4
1 changed files with 3 additions and 2 deletions
|
@ -290,8 +290,9 @@ void SocketApi::slotJobCompleted(const QString &folder, const SyncFileItem &item
|
||||||
if (Progress::isWarningKind(item._status)) {
|
if (Progress::isWarningKind(item._status)) {
|
||||||
command = QLatin1String("ERROR");
|
command = QLatin1String("ERROR");
|
||||||
}
|
}
|
||||||
|
if( Utility::isLinux() ) {
|
||||||
broadcastMessage(QLatin1String("BROADCAST:"), path, command);
|
broadcastMessage(QLatin1String("BROADCAST:"), path, command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue