Summary: | Find duplicate images claims no album is selected although one is | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michał Kosmulski <michal> |
Component: | Searches-Similarity | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.0.0 | |
Sentry Crash Report: |
Description
Michał Kosmulski
2004-10-17 21:44:21 UTC
CVS commit by jahrens: fixed in cvs CCMAIL: 91548-done@bugs.kde.org, digikam-devel@lists.sourceforge.net M +2 -1 finddupplicatedialog.cpp 1.26 --- kdeextragear-libs-1/kipi-plugins/findimages/finddupplicatedialog.cpp #1.25:1.26 @@ -257,5 +257,6 @@ void FindDuplicateDialog::slotUpdateCach void FindDuplicateDialog::slotPurgeCache(void) { - QValueList<KIPI::ImageCollection> albumsList = getSelectedAlbums(); + QValueList<KIPI::ImageCollection> albumsList = + m_imageCollectionSelector->selectedImageCollections(); QStringList albumsListPath; 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; Le mardi 19 Octobre 2004 21:31, Joern Ahrens a écrit : > ------- 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; > _______________________________________________ > Kde-imaging mailing list > Kde-imaging@kde.org > https://mail.kde.org/mailman/listinfo/kde-imaging Thanks for this patch Joern ! Gilles Not reproducible with 7.0.0-beta1 |