diff --git a/3rdparty/singleapplication/singleapplication_p.cpp b/3rdparty/singleapplication/singleapplication_p.cpp index 1a3733013..e2aac3d85 100644 --- a/3rdparty/singleapplication/singleapplication_p.cpp +++ b/3rdparty/singleapplication/singleapplication_p.cpp @@ -220,7 +220,7 @@ void SingleApplicationPrivate::startSecondary() { } -bool SingleApplicationPrivate::connectToPrimary(int timeout, ConnectionType connectionType) { +bool SingleApplicationPrivate::connectToPrimary(const qint64 timeout, const ConnectionType connectionType) { QElapsedTimer time; time.start(); diff --git a/3rdparty/singleapplication/singleapplication_p.h b/3rdparty/singleapplication/singleapplication_p.h index f9818e197..79daafec7 100644 --- a/3rdparty/singleapplication/singleapplication_p.h +++ b/3rdparty/singleapplication/singleapplication_p.h @@ -85,7 +85,7 @@ class SingleApplicationPrivate : public QObject { void initializeMemoryBlock(); void startPrimary(); void startSecondary(); - bool connectToPrimary(const int msecs, const ConnectionType connectionType); + bool connectToPrimary(const qint64 msecs, const ConnectionType connectionType); quint16 blockChecksum(); qint64 primaryPid(); QString primaryUser(); diff --git a/3rdparty/singleapplication/singlecoreapplication_p.cpp b/3rdparty/singleapplication/singlecoreapplication_p.cpp index a09166d16..3ccd0b00a 100644 --- a/3rdparty/singleapplication/singlecoreapplication_p.cpp +++ b/3rdparty/singleapplication/singlecoreapplication_p.cpp @@ -220,7 +220,7 @@ void SingleCoreApplicationPrivate::startSecondary() { } -bool SingleCoreApplicationPrivate::connectToPrimary(int timeout, ConnectionType connectionType) { +bool SingleCoreApplicationPrivate::connectToPrimary(const qint64 timeout, const ConnectionType connectionType) { QElapsedTimer time; time.start(); diff --git a/3rdparty/singleapplication/singlecoreapplication_p.h b/3rdparty/singleapplication/singlecoreapplication_p.h index 4b5f9c4b1..4034e82cc 100644 --- a/3rdparty/singleapplication/singlecoreapplication_p.h +++ b/3rdparty/singleapplication/singlecoreapplication_p.h @@ -85,7 +85,7 @@ class SingleCoreApplicationPrivate : public QObject { void initializeMemoryBlock(); void startPrimary(); void startSecondary(); - bool connectToPrimary(const int msecs, const ConnectionType connectionType); + bool connectToPrimary(const qint64 msecs, const ConnectionType connectionType); quint16 blockChecksum(); qint64 primaryPid(); QString primaryUser();