author | zautrix <zautrix> | 2005-02-19 20:30:34 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-19 20:30:34 (UTC) |
commit | 6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6 (patch) (unidiff) | |
tree | 89fbb2b107a1681a1fbb19b35c3a9484652dc352 /libkdepim/categoryselectdialog.cpp | |
parent | 11b5b0eb24cfb943df106f7ee97646955bec0fd3 (diff) | |
download | kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.zip kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.tar.gz kdepimpi-6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6.tar.bz2 |
cat select fix
Diffstat (limited to 'libkdepim/categoryselectdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/categoryselectdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp index 8038934..4d80726 100644 --- a/libkdepim/categoryselectdialog.cpp +++ b/libkdepim/categoryselectdialog.cpp | |||
@@ -54,7 +54,7 @@ CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent, | |||
54 | else | 54 | else |
55 | showMaximized(); | 55 | showMaximized(); |
56 | connect( mSetColorCat, SIGNAL( clicked() ), this, SLOT( setColorCat() ) ); | 56 | connect( mSetColorCat, SIGNAL( clicked() ), this, SLOT( setColorCat() ) ); |
57 | connect( mCategories, SIGNAL( clicked(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) ); | 57 | // connect( mCategories, SIGNAL( clicked(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) ); |
58 | } | 58 | } |
59 | void CategorySelectDialog::editCategoriesDialog() | 59 | void CategorySelectDialog::editCategoriesDialog() |
60 | { | 60 | { |
@@ -73,7 +73,9 @@ void CategorySelectDialog::setCategories() | |||
73 | QStringList::Iterator it; | 73 | QStringList::Iterator it; |
74 | for (it = mPrefs->mCustomCategories.begin(); | 74 | for (it = mPrefs->mCustomCategories.begin(); |
75 | it != mPrefs->mCustomCategories.end(); ++it ) { | 75 | it != mPrefs->mCustomCategories.end(); ++it ) { |
76 | new QCheckListItem(mCategories,*it,QCheckListItem::CheckBox); | 76 | CategorySelectItem * item = new CategorySelectItem(mCategories,*it,QCheckListItem::CheckBox); |
77 | QObject::connect( item, SIGNAL( stateChanged(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) ); | ||
78 | |||
77 | } | 79 | } |
78 | } | 80 | } |
79 | 81 | ||