[Kita-svn] [2410] set context menu policy to Qt::CustomContextMenu

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 7月 14日 (火) 23:58:43 JST


Revision: 2410
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2410
Author:   nogu
Date:     2009-07-14 23:58:43 +0900 (Tue, 14 Jul 2009)

Log Message:
-----------
set context menu policy to Qt::CustomContextMenu

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

Modified: kita/branches/KITA-KDE4/kita/src/bbsview.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/bbsview.cpp	2009-07-14 14:44:43 UTC (rev 2409)
+++ kita/branches/KITA-KDE4/kita/src/bbsview.cpp	2009-07-14 14:58:43 UTC (rev 2410)
@@ -86,6 +86,7 @@
 
     m_boardList->setHeaderLabel(i18n("board name"));
     m_boardList->header()->setClickable(false);
+    m_boardList->setContextMenuPolicy(Qt::CustomContextMenu);
 
     /* default colors */
     QPalette palette = m_boardList->viewport() ->palette();

Modified: kita/branches/KITA-KDE4/kita/src/threadlistview.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/threadlistview.cpp	2009-07-14 14:44:43 UTC (rev 2409)
+++ kita/branches/KITA-KDE4/kita/src/threadlistview.cpp	2009-07-14 14:58:43 UTC (rev 2410)
@@ -45,6 +45,7 @@
     ReloadButton->setIcon(SmallIcon("view-refresh"));
     closeButton->setIcon(SmallIcon("tab-close"));
 
+    subjectList->setContextMenuPolicy(Qt::CustomContextMenu);
     //Q3Header* header = subjectList->header(); TODO
     for (int i = Col_Begin; i <= Col_End; i++) {
         int count = subjectList->columnCount() + 1;




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