Clean up context menu handling in the files window.
commit5f28a9341cfef5d02bf3dda7389873876a3138e0
authorJohannes Sixt <johannes.sixt@telecom.at>
Sat, 12 May 2007 20:59:35 +0000 (12 22:59 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Sun, 13 May 2007 20:07:58 +0000 (13 22:07 +0200)
tree82e894e2f559fb928f374679d26f3ed7ef59ec26
parentabb9423ac5355f0b43ca040bb1a1f233955730f4
Clean up context menu handling in the files window.

The source code windows already need to do their own context menu handling
by asking the main window's GUI factory for the popup menu. The same kind
of context menu handling is now added to the file container window (which
is only visible while no files are loaded). Consequently, right button
clicks need not be handled anymore because Qt translates them to context
menu events for us.
kdbg/dbgmainwnd.cpp
kdbg/dbgmainwnd.h
kdbg/sourcewnd.cpp
kdbg/sourcewnd.h
kdbg/winstack.cpp
kdbg/winstack.h