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

List:       kde-commits
Subject:    KDE/kdepim/korganizer/views/todoview (silent)
From:       Thomas Thrainer <tom_t () gmx ! at>
Date:       2009-07-04 17:55:21
Message-ID: 1246730121.721441.31706.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 991358 by thrainer:

Update information about a work-around for a Qt-bug.
Calm the emitted warnings for now, maybe the bug will be fixed with Qt 4.6...


SVN_SILENT:



 M  +3 -2      kotododelegates.cpp  
 M  +1 -1      kotodoviewview.cpp  
 M  +1 -1      kotodoviewview.h  


--- trunk/KDE/kdepim/korganizer/views/todoview/kotododelegates.cpp #991357:991358
@@ -85,7 +85,7 @@
   style = opt.widget ? opt.widget->style() : QApplication::style();
   style->drawPrimitive( QStyle::PE_PanelItemViewItem, &opt, painter );
 
-#if QT_VERSION >= 0x040500
+#if QT_VERSION >= 0x040600
 #ifdef __GNUC__
 #warning QTreeView should now set State_Editing correctly, remove the workaround
 #endif
@@ -97,7 +97,8 @@
   }
 
   // TODO QTreeView does not set State_Editing. Qt task id 205051
-  // should be fixed with Qt 4.5
+  // should be fixed with Qt 4.5, but wasn't. According to the
+  // task tracker the fix arrives in "Some future release".
   if ( !( opt.state & QStyle::State_Editing ) && !isEditing ) {
     QStyleOptionProgressBar pbOption;
     pbOption.QStyleOption::operator=( option );
--- trunk/KDE/kdepim/korganizer/views/todoview/kotodoviewview.cpp #991357:991358
@@ -43,7 +43,7 @@
   header()->installEventFilter( this );
 }
 
-#if QT_VERSION >= 0x040500
+#if QT_VERSION >= 0x040600
 #ifdef __GNUC__
 #warning QTreeView should now set State_Editing correctly, remove the workaround
 #endif
--- trunk/KDE/kdepim/korganizer/views/todoview/kotodoviewview.h #991357:991358
@@ -41,7 +41,7 @@
   public:
     KOTodoViewView( QWidget *parent = 0 );
 
-#if QT_VERSION >= 0x040500
+#if QT_VERSION >= 0x040600
 #ifdef __GNUC__
 #warning QTreeView should now set State_Editing correctly, remove the workaround
 #endif
[prev in list] [next in list] [prev in thread] [next in thread] 

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