[Kita-svn] [2389] use horizontalScrollBar()->isSliderDown() instead of isVerticalSliderPressed()

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 7月 11日 (土) 06:59:59 JST


Revision: 2389
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2389
Author:   nogu
Date:     2009-07-11 06:59:58 +0900 (Sat, 11 Jul 2009)

Log Message:
-----------
use horizontalScrollBar()->isSliderDown() instead of isVerticalSliderPressed()

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/htmlpart.cpp

Modified: kita/branches/KITA-KDE4/kita/src/htmlpart.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/htmlpart.cpp	2009-07-10 21:32:55 UTC (rev 2388)
+++ kita/branches/KITA-KDE4/kita/src/htmlpart.cpp	2009-07-10 21:59:58 UTC (rev 2389)
@@ -1369,8 +1369,8 @@
 void KitaHTMLPart::slotLeave()
 {
     if (isMultiPopupMode()) return ;
-//    if (view() ->isHorizontalSliderPressed()) return ;// TODO
-//    if (view() ->isVerticalSliderPressed ()) return ; // TODO
+    if (view()->horizontalScrollBar()->isSliderDown()) return;
+    if (view()->verticalScrollBar()->isSliderDown()) return;
 
     hidePopup();
 




Kita-svn メーリングリストの案内
アーカイブの一覧に戻る