[Pkg-owncloud-commits] [owncloud-client] 90/103: Try to not have windows stay-on-top
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Apr 30 18:09:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit a268b03990c52ef2797fb17194abc3b8b6bc58a8
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Tue Apr 29 15:30:54 2014 +0200
Try to not have windows stay-on-top
---
src/mirall/utility.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mirall/utility.cpp b/src/mirall/utility.cpp
index fa4a64b..ee229ce 100644
--- a/src/mirall/utility.cpp
+++ b/src/mirall/utility.cpp
@@ -169,7 +169,8 @@ void Utility::raiseDialog( QWidget *raiseWidget )
#ifndef TOKEN_AUTH_ONLY
// viel hilft viel ;-)
if( raiseWidget ) {
-#if defined(Q_OS_WIN) || defined (Q_OS_MAC)
+#if #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) && \
+ (defined(Q_OS_WIN) || defined (Q_OS_MAC))
Qt::WindowFlags eFlags = raiseWidget->windowFlags();
if (!(eFlags & Qt::WindowStaysOnTopHint)) {
eFlags |= Qt::WindowStaysOnTopHint;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list