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

List:       kde-commits
Subject:    kdegraphics/kuickshow/src
From:       David Faure <faure () kde ! org>
Date:       2004-08-24 19:57:05
Message-ID: 20040824195705.77C9716B52 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Fixed Alt-F4 not working.


  M +3 -1      kuickshow.cpp   1.87


--- kdegraphics/kuickshow/src/kuickshow.cpp  #1.86:1.87
@@ -746,7 +746,9 @@ bool KuickShow::eventFilter( QObject *o,
             // Key_Shift shouldn't load the browser in nobrowser mode, it
             // is used for zooming in the imagewindow
+            // Key_Alt shouldn't either - otherwise Alt+F4 doesn't work, the
+            // F4 gets eaten (by NetAccess' modal dialog maybe?)
             if ( !fileWidget )
             {
-                if ( key != Key_Escape && key != Key_Shift )
+                if ( key != Key_Escape && key != Key_Shift && key != Key_Alt )
                 {
                     KURL start;


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

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