hi.. so, we all know we use dptrs in libraries to maintain binary compatibility. but i'm seeing them used more and more in plugins such as plasmoids. this is really, really annoying when trying to debug things because then we end up with backtraces like this:
Application: Plasma Widget Viewer (plasmoidviewer), signal: Segmentation fault [KCrash Handler] #6 0x00000011 in ?? () #7 0xa98ab67b in Kickoff::RecentlyUsedModel::setNameDisplayOrder (this=0x82f2b58, displayOrder=Kickoff::NameBeforeDescription) at /home/aseigo/kde4/KDE/kdebase/workspace/plasma/applets/kickoff/core/recentlyusedmodel.cpp:213 #8 0xa98f9b1b in Kickoff::Launcher::setShowAppsByName (this=0x82b1fc8, showAppsByName=true) at not good. there's no reason for dptrs except for in libraries that are keeping binary compat. please don't use dptrs otherwise, if only for the sake of debugging. thanks. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Software
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel