mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Disabling QtSingleApplication on Haiku. See #154
This commit is contained in:
parent
4a4b005bb0
commit
6cdb61990d
8
src/3rdparty/qtsingleapplication.cpp
vendored
8
src/3rdparty/qtsingleapplication.cpp
vendored
|
@ -243,7 +243,11 @@ QtSingleApplication::QtSingleApplication(Display* dpy, const QString &appId, int
|
|||
|
||||
bool QtSingleApplication::isRunning()
|
||||
{
|
||||
#ifdef Q_OS_HAIKU
|
||||
return false;
|
||||
#else
|
||||
return peer->isClient();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -262,7 +266,11 @@ bool QtSingleApplication::isRunning()
|
|||
*/
|
||||
bool QtSingleApplication::sendMessage(const QString &message, int timeout)
|
||||
{
|
||||
#ifdef Q_OS_HAIKU
|
||||
return false;
|
||||
#else
|
||||
return peer->sendMessage(message, timeout);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user