[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/graphics/digikam/digikam
From: Adrian Schroeter <adrian () suse ! de>
Date: 2008-02-17 16:28:42
Message-ID: 1203265722.985682.27331.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 776209 by adrian:
and fix the check to avoid crashes, when the config file contains
an invalid reference to a button.
M +1 -1 timelineview.cpp
--- trunk/extragear/graphics/digikam/digikam/timelineview.cpp #776208:776209
@@ -318,7 +318,7 @@
slotTimeUnitChanged(d->timeUnitCB->currentIndex());
int id = group.readEntry("Histogram Scale", (int)TimeLineWidget::LinScale);
- if ( id >= 0 )
+ if ( d->scaleBG->button( id ) )
d->scaleBG->button( id )->setChecked(true);
slotScaleChanged(d->scaleBG->checkedId());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic