[Pkg-owncloud-commits] [owncloud-client] 22/83: Fix on-top/below-others window problem

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 31 11:31:39 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 18677dbc3fad086f9a0a8c129d37a8799d1c65e0
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Fri May 23 15:56:53 2014 +0200

    Fix on-top/below-others window problem
    
    - Don't give the settings window an always-on-top hint, or else
      sub dialogs will pop-under. Also, people seem to (ab-)use it
      as a status monitor... well
    
    - raiseWidget() can only really do one thing: remove the dialog status
      from dialogs without a parent due to a bug in Qt. The previous
      implementation never really worked. Tested on Mac and Gnome 3 so far.
    
    Fixes #1795
    Fixes parts of #1775
---
 src/mirall/settingsdialogmac.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/mirall/settingsdialogmac.cpp b/src/mirall/settingsdialogmac.cpp
index a3783c7..bf201a1 100644
--- a/src/mirall/settingsdialogmac.cpp
+++ b/src/mirall/settingsdialogmac.cpp
@@ -23,8 +23,6 @@ namespace Mirall {
 SettingsDialogMac::SettingsDialogMac(ownCloudGui *gui, QWidget *parent)
     : MacPreferencesWindow(parent)
 {
-    setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
-
     setObjectName("SettingsMac"); // required as group for saveGeometry call
 
     setWindowTitle(tr("%1").arg(Theme::instance()->appNameGUI()));

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