Implementing shift delete in dolphin, some help would be nice.

Lubos Lunak l.lunak at suse.cz
Mon Sep 13 22:13:46 BST 2010


On Monday 13 of September 2010, Mark wrote:
> On Mon, Sep 13, 2010 at 10:00 PM, Mark <markg85 at gmail.com> 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 at suse.cz , l.lunak at kde.org




More information about the kde-core-devel mailing list