https://bugs.kde.org/show_bug.cgi?id=515746

--- Comment #2 from [email protected] ---
At the time, when skanlite was working, but showed the Webcam instead of the
Scanner as Default,
the order in the Menue was:
1.: Webcam
2.: Scanner

Or counted from 0:
0: Webcam
1: Scanner

I had to select the scanner by hand via the menue.

Without looking at the Code, I would guess, the crash might be an
off-by-one-problem.
Shift the two entries in the list, so that only the Scanner appears in the list
(index >= 0).
Index of Webcam is then <0, more explicitly -1 in this case.
Then setting the Webcam as Default without checking on Index >=0 would use -1
as an array index.
Just a guess, but maybe a hint.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to