summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-03-16 23:29:30 (UTC)
committer zautrix <zautrix>2005-03-16 23:29:30 (UTC)
commite0a510893ffcddb8d58f785832622d030900b2f9 (patch) (side-by-side diff)
treeaa9499e0a81c26a24f832b0dd58bc8943db13e3d
parentd2be5ea1cd22f5222aecb0f70a2fe8657fae9698 (diff)
downloadkdepimpi-e0a510893ffcddb8d58f785832622d030900b2f9.zip
kdepimpi-e0a510893ffcddb8d58f785832622d030900b2f9.tar.gz
kdepimpi-e0a510893ffcddb8d58f785832622d030900b2f9.tar.bz2
fixes
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/categoryselectdialog.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp
index 4d80726..974752c 100644
--- a/libkdepim/categoryselectdialog.cpp
+++ b/libkdepim/categoryselectdialog.cpp
@@ -64,3 +64,6 @@ void CategorySelectDialog::editCategoriesDialog()
delete ced;
+ slotApply();
+ QStringList temp = mCategoryList;
setCategories();
+ setSelected( temp );
}
@@ -194,3 +197,3 @@ void CategorySelectDialog::slotApply()
categories.prepend( colcat );
- QString categoriesStr = categories.join(",");
+ // QString categoriesStr = categories.join(",");
@@ -198,4 +201,2 @@ void CategorySelectDialog::slotApply()
- emit categoriesSelected(categories);
- emit categoriesSelected(categoriesStr);
}
@@ -209,2 +210,4 @@ void CategorySelectDialog::slotOk()
slotApply();
+ emit categoriesSelected(mCategoryList);
+ emit categoriesSelected(mCategoryList.join(","));
QDialog::accept();