Do not launch the application twice

If the application is already running, simply raise the running
instance.
This commit is contained in:
Aleix Pol
2020-11-24 02:55:14 +01:00
committed by Aleix Pol Gonzalez
parent 0c28ec4041
commit 092f8ee75d
3 changed files with 21 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ if(ANDROID)
"search"
)
else()
target_link_libraries(neochat PRIVATE Qt5::Widgets ${QTKEYCHAIN_LIBRARIES})
target_link_libraries(neochat PRIVATE Qt5::Widgets KF5::DBusAddons ${QTKEYCHAIN_LIBRARIES})
endif()
install(TARGETS neochat ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})