[Bug 259828] Cannot configure colors for categories in the configure categories dialog.

Tobias Koenig tokoe at kde.org
Thu Jan 13 14:55:31 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=259828


Tobias Koenig <tokoe at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Tobias Koenig <tokoe kde org>  2011-01-13 15:55:30 ---
commit f0f41b94eb92bf983122eb20821c8ae8b4f0902f
branch master
Author: Tobias Koenig <tokoe at kde.org>
Date:   Thu Jan 13 15:57:35 2011 +0100

    Enable CategoryDialog on WinCE again

    We can use QTreeView on WinCE again, so do not ifdef out the
    category dialog.

    BUG: 259828

diff --git a/incidenceeditor-ng/incidencecategories.cpp
b/incidenceeditor-ng/incidencecategories.cpp
index bc85ebc..5b543ce 100644
--- a/incidenceeditor-ng/incidencecategories.cpp
+++ b/incidenceeditor-ng/incidencecategories.cpp
@@ -21,9 +21,7 @@
 #include "incidencecategories.h"
 #include "categoryhierarchyreader.h"

-#ifndef Q_OS_WINCE
-  #include "categorydialog.h"
-#endif
+#include "categorydialog.h"

 #include "editorconfig.h"

@@ -105,8 +103,6 @@ bool IncidenceCategories::isDirty() const
 void IncidenceCategories::selectCategories()
 {
 #ifdef KDEPIM_MOBILE_UI
-// FIXME we don't have QTreeWidget on WinCE, find an alternative !
-#ifndef Q_OS_WINCE
   CategoryConfig cc( EditorConfig::instance()->config() );
   QPointer<CategoryDialog> dialog( new CategoryDialog( &cc ) );
   dialog->setSelected( mSelectedCategories );
@@ -115,7 +111,6 @@ void IncidenceCategories::selectCategories()
   setCategories( dialog->selectedCategories() );
   delete dialog;
 #endif
-#endif
 }

 void IncidenceCategories::setCategories( const QStringList &categories )

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list