From: Willem Liu Date: Thu, 21 Oct 2010 18:04:39 +0000 (+0200) Subject: Fixed some bugs X-Git-Tag: easylist-0.3.23~3 X-Git-Url: http://vcs.maemo.org/git/?p=easylist;a=commitdiff_plain;h=8270c1ded1b7a4ba89483cbf3de8cdeee1f5f650 Fixed some bugs --- diff --git a/changelog.txt b/changelog.txt index f536f26..8c22fbb 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,9 +1,22 @@ +easylist (0.3.17) unstable; urgency=low + + * Fixed bug when saving to a list template with empty name causes all lists to disappear. + + -- Willem Liu Thu, 21 Oct 2010 19:19:00 +0200 + +easylist (0.3.16) unstable; urgency=low + + * Fixed minor bug. Switching to Lists... view didn't save current list item states. + * Added notification when saving list as template. + + -- Willem Liu Thu, 21 Oct 2010 19:19:00 +0200 + easylist (0.3.15) unstable; urgency=low * Support for multiple lists. * Changed order of menu items. - -- Willem Liu Tue, 07 Sep 2010 13:56:12 +0200 + -- Willem Liu Thu, 21 Oct 2010 00:05:00 +0200 easylist (0.3.14) unstable; urgency=low diff --git a/debian/changelog b/debian/changelog index f536f26..8c22fbb 100755 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,22 @@ +easylist (0.3.17) unstable; urgency=low + + * Fixed bug when saving to a list template with empty name causes all lists to disappear. + + -- Willem Liu Thu, 21 Oct 2010 19:19:00 +0200 + +easylist (0.3.16) unstable; urgency=low + + * Fixed minor bug. Switching to Lists... view didn't save current list item states. + * Added notification when saving list as template. + + -- Willem Liu Thu, 21 Oct 2010 19:19:00 +0200 + easylist (0.3.15) unstable; urgency=low * Support for multiple lists. * Changed order of menu items. - -- Willem Liu Tue, 07 Sep 2010 13:56:12 +0200 + -- Willem Liu Thu, 21 Oct 2010 00:05:00 +0200 easylist (0.3.14) unstable; urgency=low diff --git a/easylist.pro.user b/easylist.pro.user index ca76aed..64e46a0 100755 --- a/easylist.pro.user +++ b/easylist.pro.user @@ -48,7 +48,7 @@ Debug Qt4ProjectManager.Qt4BuildConfiguration 2 - C:/dev/cpp/easylist-0.3.15-build-desktop + C:/dev/cpp/easylist-0.3.17-build-desktop 20 2 true @@ -82,7 +82,7 @@ Release Qt4ProjectManager.Qt4BuildConfiguration 0 - C:/dev/cpp/easylist-0.3.15-build-desktop + C:/dev/cpp/easylist-0.3.17-build-desktop 20 2 true @@ -150,7 +150,7 @@ Debug Qt4ProjectManager.Qt4BuildConfiguration 2 - C:/dev/cpp/easylist-0.3.15 + C:/dev/cpp/easylist-0.3.17 27 9 false @@ -173,11 +173,11 @@ Qt4ProjectManager.MaemoPackageCreationStep - C:/dev/cpp/easylist-0.3.15/src/easylist.desktop - C:/dev/cpp/easylist-0.3.15/src/data/26x26/easylist.png - C:/dev/cpp/easylist-0.3.15/src/data/40x40/easylist.png - C:/dev/cpp/easylist-0.3.15/src/data/48x48/easylist.png - C:/dev/cpp/easylist-0.3.15/src/data/64x64/easylist.png + C:/dev/cpp/easylist-0.3.17/src/easylist.desktop + C:/dev/cpp/easylist-0.3.17/src/data/26x26/easylist.png + C:/dev/cpp/easylist-0.3.17/src/data/40x40/easylist.png + C:/dev/cpp/easylist-0.3.17/src/data/48x48/easylist.png + C:/dev/cpp/easylist-0.3.17/src/data/64x64/easylist.png false /opt/easylist/bin/easylist @@ -188,7 +188,7 @@ /usr/share/icons/hicolor/48x48/apps/easylist.png /usr/share/icons/hicolor/64x64/apps/easylist.png - 0.3.15 + 0.3.17 3 @@ -206,7 +206,7 @@ Release Qt4ProjectManager.Qt4BuildConfiguration 0 - C:/dev/cpp/easylist-0.3.15 + C:/dev/cpp/easylist-0.3.17 27 9 false diff --git a/src/listform.cpp b/src/listform.cpp index 57984f7..0406b82 100755 --- a/src/listform.cpp +++ b/src/listform.cpp @@ -37,13 +37,17 @@ void ListForm::addCheckBoxes() } } - void ListForm::on_editListPushButton_clicked() { - settings->setValue(LIST_TEXT, MyCheckBoxContainer::getInstance()->getListText()); + saveList(); emit signalNavigate(1); } +void ListForm::saveList() +{ + settings->setValue(LIST_TEXT, MyCheckBoxContainer::getInstance()->getListText()); +} + void ListForm::on_uncheckAllPushButton_clicked() { MyCheckBoxContainer::getInstance()->uncheckAll(); diff --git a/src/listform.h b/src/listform.h index 69b7a20..62a00e1 100755 --- a/src/listform.h +++ b/src/listform.h @@ -21,6 +21,7 @@ public: ~ListForm(); virtual void shown(); + virtual void saveList(); private: QSettings * settings; diff --git a/src/mainform.cpp b/src/mainform.cpp index b21cbcc..55c7df4 100755 --- a/src/mainform.cpp +++ b/src/mainform.cpp @@ -205,5 +205,6 @@ void MainForm::on_actionSort_A_Z_triggered() void MainForm::on_actionLists_triggered() { + listForm->saveList(); changeWidget(2); } diff --git a/src/src.pro b/src/src.pro index db52035..a44a2ad 100755 --- a/src/src.pro +++ b/src/src.pro @@ -6,7 +6,7 @@ # This needs to be removed in order for the binary # to be chmod to 755 in the debian package. -QT += core gui +QT += core gui maemo5 TARGET = easylist TEMPLATE = app DEPENDPATH += .