1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Disabling QtSingleApplication on Haiku. See #154

This commit is contained in:
nowrep 2012-01-13 21:44:56 +01:00
parent 4a4b005bb0
commit 6cdb61990d

View File

@ -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
}