[KPhotoAlbum] Bug in delete category code ?
Jesper K. Pedersen
blackie at blackie.dk
Sun Nov 19 11:25:35 CET 2006
comon, that is not bizarre - this is only odd, weird or strange. Bizarre would
have been if it had work despite the missing use of the test :-)
On Saturday 18 November 2006 22:43, Baptiste MATHUS wrote:
| Looking at the code, I just saw something bizarre, wouldn't it be a
| mistake in SettingsDialog.cpp ?
| void Settings::SettingsDialog::slotDeleteCurrent()
| int answer = KMessageBox::Yes;
| KMessageBox::questionYesNo( this, i18n("<qt>Really delete cateory
| '%1'?").arg( _current->text()) );
| if ( answer == KMessageBox::No )
| _deleted.append( _current );
| _categories->takeItem( _current );
| I suppose you wanted to mean :
| answer = KMessageBox::questionYesNo( this, i18n("<qt>Really delete
| cateory '%1'?").arg( _current->text()) );
| As I see this, even if the user answers yes, the slot code will be
| -- Baptiste
| PS : as you can see, there's also a small mistake "cateory" instead of
Having trouble finding a given image in your collection containing
thousands of images?
http://www.kphotoalbum.org might be the answer.
More information about the KPhotoAlbum