Fix build without dbus
This commit is contained in:
parent
a82d1e863e
commit
9f6f7f7c9b
|
@ -754,10 +754,12 @@ void InstallLauncher(bool force) {
|
||||||
|
|
||||||
void RegisterCustomScheme(bool force) {
|
void RegisterCustomScheme(bool force) {
|
||||||
try {
|
try {
|
||||||
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
if (InSnap()) {
|
if (InSnap()) {
|
||||||
SnapDefaultHandler(qsl("tg"));
|
SnapDefaultHandler(qsl("tg"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif // !DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
|
|
||||||
if (cExeName().isEmpty()) {
|
if (cExeName().isEmpty()) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue