[Digikam-devel] [Bug 139547] tag hierarchy automatic fill
Marcel Wiesweg
marcel.wiesweg at gmx.de
Mon Jan 8 22:28:03 GMT 2007
------- 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=139547
------- Additional Comments From marcel.wiesweg gmx de 2007-01-08 23:28 -------
SVN commit 621508 by mwiesweg:
Attempt to fix the crash:
Use dynamic_cast here as well, the assumption that all tabs are known was wrong (and fixed in other places)
CCBUG: 139547
M +1 -1 imagepropertiessidebardb.cpp
--- trunk/extragear/graphics/digikam/libs/imageproperties/imagepropertiessidebardb.cpp #621507:621508
@ -175,7 +175,7 @
d->hasPrevious = hasPrevious;
d->hasNext = hasNext;
- NavigateBarTab *navtab = static_cast<NavigateBarTab *>(getActiveTab());
+ NavigateBarTab *navtab = dynamic_cast<NavigateBarTab *>(getActiveTab());
if (navtab)
{
navtab->setNavigateBarState(d->hasPrevious, d->hasNext);
More information about the Digikam-devel
mailing list