From e0a510893ffcddb8d58f785832622d030900b2f9 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 16 Mar 2005 23:29:30 +0000 Subject: fixes --- diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp index 4d80726..974752c 100644 --- a/libkdepim/categoryselectdialog.cpp +++ b/libkdepim/categoryselectdialog.cpp @@ -62,7 +62,10 @@ void CategorySelectDialog::editCategoriesDialog() ced->exec(); delete ced; + slotApply(); + QStringList temp = mCategoryList; setCategories(); + setSelected( temp ); } void CategorySelectDialog::setCategories() { @@ -192,12 +195,10 @@ void CategorySelectDialog::slotApply() categories.sort(); if ( ! colcat.isEmpty() ) categories.prepend( colcat ); - QString categoriesStr = categories.join(","); + // QString categoriesStr = categories.join(","); mCategoryList = categories; - emit categoriesSelected(categories); - emit categoriesSelected(categoriesStr); } void CategorySelectDialog::accept() { @@ -207,6 +208,8 @@ void CategorySelectDialog::accept() void CategorySelectDialog::slotOk() { slotApply(); + emit categoriesSelected(mCategoryList); + emit categoriesSelected(mCategoryList.join(",")); QDialog::accept(); } -- cgit v0.9.0.2