From kde-core-devel Mon Sep 13 21:13:46 2010 From: Lubos Lunak Date: Mon, 13 Sep 2010 21:13:46 +0000 To: kde-core-devel Subject: Re: Implementing shift delete in dolphin, some help would be nice. Message-Id: <201009132313.46528.l.lunak () suse ! cz> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=128441246018897 On Monday 13 of September 2010, Mark wrote: > On Mon, Sep 13, 2010 at 10:00 PM, Mark wrote: > > --- src/dolphincontextmenu.cpp (revision 1174907) > > +++ src/dolphincontextmenu.cpp (working copy) > > @@ -69,6 +69,9 @@ > > const DolphinView* view = > > m_mainWindow->activeViewContainer()->view(); m_selectedUrls = > > view->selectedUrls(); > > m_selectedItems = view->selectedItems(); > > + m_keyInfo = new KModifierKeyInfo(); And who deletes it? > Interesting, just found out that just having an instance > of KModifierKeyInfo (in the earlier diff: "m_keyInfo = new > KModifierKeyInfo();") blocks the GUI when shift is pressed and the right > mouse button. http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_with_GDB and see for yourself where it blocks. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org