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