[Kde-imaging] [Bug 91548] Find duplicate images claims no album is
selected although one is
Joern Ahrens
kde at jokele.de
Tue Oct 19 21:31:50 CEST 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=91548
------- Additional Comments From kde jokele de 2004-10-19 21:31 -------
CVS commit by jahrens:
Addition to #91548
CCMAIL: 91548 bugs kde org, digikam-devel lists sourceforge net
M +10 -4 finddupplicatedialog.cpp 1.27
M +1 -2 finddupplicatedialog.h 1.11
--- kdeextragear-libs-1/kipi-plugins/findimages/finddupplicatedialog.cpp #1.26:1.27
@ -257,6 +257,6 @ void FindDuplicateDialog::slotUpdateCach
void FindDuplicateDialog::slotPurgeCache(void)
{
- QValueList<KIPI::ImageCollection> albumsList =
- m_imageCollectionSelector->selectedImageCollections();
+ QValueList<KIPI::ImageCollection> albumsList = getSelectedAlbums();
+
QStringList albumsListPath;
@ -287,6 +287,4 @ void FindDuplicateDialog::slotPurgeAllCa
void FindDuplicateDialog::slotOk()
{
- m_selectedAlbums = m_imageCollectionSelector->selectedImageCollections();
-
if (getSelectedAlbums().isEmpty() == true)
{
@ -301,4 +299,12 @ void FindDuplicateDialog::slotOk()
/////////////////////////////////////////////////////////////////////////////////////////////
+QValueList<KIPI::ImageCollection> FindDuplicateDialog::getSelectedAlbums() const
+{
+ return m_imageCollectionSelector->selectedImageCollections();
+}
+
+
+/////////////////////////////////////////////////////////////////////////////////////////////
+
const QString FindDuplicateDialog::getFindMethod() const
{
--- kdeextragear-libs-1/kipi-plugins/findimages/finddupplicatedialog.h #1.10:1.11
@ -69,5 +69,5 @ class FindDuplicateDialog : public KDial
void setApproximateThreeshold(int Value);
- QValueList<KIPI::ImageCollection> getSelectedAlbums() const { return m_selectedAlbums; }
+ QValueList<KIPI::ImageCollection> getSelectedAlbums() const;
signals:
@ -99,5 +99,4 @ class FindDuplicateDialog : public KDial
KIPI::Interface *m_interface;
- QValueList<KIPI::ImageCollection> m_selectedAlbums;
KIPI::ImageCollectionSelector *m_imageCollectionSelector;
More information about the Kde-imaging
mailing list