[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdemultimedia/kmix
From:       Eike Hein <hein () kde ! org>
Date:       2012-02-26 17:43:36
Message-ID: 20120226174336.35BFBAC896 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1282386 by hein:

Make the tray popup follow the slider orientation setting.

BUG:292492


 M  +1 -0      apps/kmix.h  
 M  +1 -1      gui/viewdockareapopup.cpp  


--- trunk/KDE/kdemultimedia/kmix/apps/kmix.h #1282385:1282386
@@ -60,6 +60,7 @@
    ~KMixWindow();
 
    bool updateDocking();
+   Qt::Orientation toplevelOrientation() { return m_toplevelOrientation; }
 
   private:
    void saveBaseConfig();
--- trunk/KDE/kdemultimedia/kmix/gui/viewdockareapopup.cpp #1282385:1282386
@@ -134,7 +134,7 @@
       true,         // Show Mute LED
       true,        // Show Record LED
       false,        // Small
-      Qt::Horizontal, // Direction: only 1 device, so doesn't matter
+      _dock->toplevelOrientation(), // Direction: only 1 device, so doesn't matter
       this,         // parent
       0             // Is "NULL", so that there is no RMB-popup
       , pctl
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic