[Digikam-devel] extragear/graphics/digikam/libs/template
Andi Clemens
andi.clemens at gmx.net
Sun Nov 21 19:05:36 GMT 2010
SVN commit 1199382 by aclemens:
I just removed the return statement, if we really want to escape at this point
in the function, please fix it. I don't know the logic behind it.
CCMAIL:digikam-devel at kde.org
M +6 -2 templateselector.cpp
--- trunk/extragear/graphics/digikam/libs/template/templateselector.cpp #1199381:1199382
@@ -168,9 +168,13 @@
QString title = d->metadataTemplate.templateTitle();
if (title == Template::removeTemplateTitle())
- return d->templateCombo->setCurrentIndex(REMOVETEMPLATE);
+ {
+ d->templateCombo->setCurrentIndex(REMOVETEMPLATE);
+ }
else if (title.isEmpty())
- return d->templateCombo->setCurrentIndex(DONTCHANGE);
+ {
+ d->templateCombo->setCurrentIndex(DONTCHANGE);
+ }
d->templateCombo->setCurrent(title);
}
More information about the Digikam-devel
mailing list