mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-04-20 20:14:45 +08:00
Fallback for iOS as well
This commit is contained in:
parent
5e223a7f74
commit
117336df79
@ -41,10 +41,10 @@ SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSeconda
|
|||||||
{
|
{
|
||||||
Q_D(SingleApplication);
|
Q_D(SingleApplication);
|
||||||
|
|
||||||
#ifdef Q_OS_ANDROID
|
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||||
// On Android since the library is not supported fallback to standard
|
// On Android and iOS since the library is not supported fallback to
|
||||||
// QApplication behaviour by simply returning.
|
// standard QApplication behaviour by simply returning at this point.
|
||||||
qWarning() << "SingleApplication is not supported on Android systems.";
|
qWarning() << "SingleApplication is not supported on Android and iOS systems.";
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user