Crash when recent file list size is 0
Brought to you by:
gyunaev
If I choose to keep the recent file history for 0 items from the Application settings window, when I start kchmviewer again it crashes, printing the following error messages on standard output:
RecentFiles::RecentFiles: maxfiles (0) is < 1
KCrash: Application 'kchmviewer' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/elgaton/.kde/socket-catlover.bgemsoftware.it/kdeinit4__0
If I change the setting back to at least 1 in the configuration file, the program starts again.
I'm using kchmviewer 5.3 on KUbuntu 11.10 (it was installed from the official repositories), with Qt 4.7.4 and KDE 4.7.2.