now addSamples actually works and doesn't crash
svn path=/trunk/KDE/kdebase/runtime/; revision=1186462
svn path=/trunk/KDE/kdebase/runtime/; revision=1185277