Commit 0caf2870 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

save albumselector state befor to process album selection for fuzzy search

BUGS: 336076
FIXED-IN: 4.1.0
parent 3c4a61d3
......@@ -31,10 +31,11 @@ BUGFIXES FROM KDE BUGZILLA (alias B.K.O | http://bugs.kde.org):
021 ==> 335652 - When using resize picture blurs out of focus.
022 ==> 330676 - Picture download.
023 ==> 335292 - File association doesn't open showFoto correctly.
024 ==> 335719 - Tag manager: "My Tags" entry is not properly expanded
025 ==> 335721 - Tag manager: "Quick Access List" filtering seems to filter only by first letter
024 ==> 335719 - Tag manager: "My Tags" entry is not properly expanded.
025 ==> 335721 - Tag manager: "Quick Access List" filtering seems to filter only by first letter.
026 ==> 335927 - Crash on import from camera (acting as mass storage).
027 ==> 335718 - Tag manager: Removing a tag turns entries in "Quick Access List" to "All tags"
028 ==> 316882 - Digikam shows wrong date on some mp4 files and shows no exif data.
029 ==> 336021 - DigiKam does not show translated messages for Marble.
030 ==>
027 ==> 335718 - Tag manager: Removing a tag turns entries in "Quick Access List" to "All tags".
028 ==> 316882 - digiKam shows wrong date on some mp4 files and shows no exif data.
029 ==> 336021 - digiKam does not show translated messages for Marble.
030 ==> 336076 - Couldn't limit the fuzzy search to certain albums / directories.
031 ==>
......@@ -6,7 +6,7 @@
* Date : 2008-05-19
* Description : Find Duplicates View.
*
* Copyright (C) 2008-2013 by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2008-2014 by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2008-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
* Copyright (C) 2009-2012 by Andi Clemens <andi dot clemens at gmail dot com>
*
......@@ -109,7 +109,7 @@ FindDuplicatesView::FindDuplicatesView(QWidget* const parent)
// ---------------------------------------------------------------
d->albumSelectors = new AlbumSelectors(i18nc("@label", "Search in:"), "Find Duplicates View");
// ---------------------------------------------------------------
d->similarity = new QSpinBox();
......@@ -189,7 +189,7 @@ void FindDuplicatesView::populateTreeView()
d->listView->sortByColumn(1, Qt::DescendingOrder);
d->listView->resizeColumnToContents(0);
d->albumSelectors->loadState();
}
......@@ -285,6 +285,7 @@ void FindDuplicatesView::enableControlWidgets(bool val)
void FindDuplicatesView::slotFindDuplicates()
{
d->albumSelectors->saveState();
slotClear();
enableControlWidgets(false);
......@@ -308,8 +309,7 @@ void FindDuplicatesView::slotDuplicatesAlbumActived(QTreeWidgetItem* item, int)
if (sitem)
{
AlbumManager::instance()->setCurrentAlbums(QList<Album*>()
<< sitem->album());
AlbumManager::instance()->setCurrentAlbums(QList<Album*>() << sitem->album());
}
}
......
......@@ -6,7 +6,7 @@
* Date : 2008-05-19
* Description : Find Duplicates View.
*
* Copyright (C) 2008-2013 by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2008-2014 by Gilles Caulier <caulier dot gilles at gmail dot com>
* Copyright (C) 2008-2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
* Copyright (C) 2009 by Andi Clemens <andi dot clemens at gmail dot com>
*
......@@ -65,7 +65,7 @@ private Q_SLOTS:
void slotComplete();
void slotUpdateFingerPrints();
void slotCheckForValidSettings();
private:
void enableControlWidgets(bool);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment