From 8694ad982dbad6e649614fb5f4bee3f99dab7a69 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 3 Jun 2014 11:34:52 +0200 Subject: Debugger: More column resizing Turns out setting the column resize mode on the view itself is counter-productive as it takes away the ability to manually re-adjust. So set the mode only temporarily to get the preferred width than switch back to manually resize mode and use the hint to set some initial size. Also use the length of the header label as absolute minimum. Change-Id: Ic17e31334b23ce6d541f9459cd22be65145046d3 Reviewed-by: Eike Ziller --- src/plugins/debugger/sourcefileswindow.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins/debugger/sourcefileswindow.cpp') diff --git a/src/plugins/debugger/sourcefileswindow.cpp b/src/plugins/debugger/sourcefileswindow.cpp index 35bcc1417c..6113898fe3 100644 --- a/src/plugins/debugger/sourcefileswindow.cpp +++ b/src/plugins/debugger/sourcefileswindow.cpp @@ -95,8 +95,6 @@ void SourceFilesTreeView::contextMenuEvent(QContextMenuEvent *ev) engine->reloadSourceFiles(); else if (act == act2) engine->gotoLocation(name); - else - handleBaseContextAction(act); } SourceFilesWindow::SourceFilesWindow() -- cgit v1.2.1