diff options
author | hjk <hjk121@nokiamail.com> | 2014-06-03 11:34:52 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-06-04 17:16:41 +0200 |
commit | 8694ad982dbad6e649614fb5f4bee3f99dab7a69 (patch) | |
tree | 637e8f8a34d61caad6b1110c57cb418fcd76648d /src/plugins/debugger/moduleswindow.cpp | |
parent | ac930e4ff07b1041c2b219538c9152aad56ecd28 (diff) | |
download | qt-creator-8694ad982dbad6e649614fb5f4bee3f99dab7a69.tar.gz |
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 <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/debugger/moduleswindow.cpp')
-rw-r--r-- | src/plugins/debugger/moduleswindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/debugger/moduleswindow.cpp b/src/plugins/debugger/moduleswindow.cpp index f7d7bf873c..176a2aa79f 100644 --- a/src/plugins/debugger/moduleswindow.cpp +++ b/src/plugins/debugger/moduleswindow.cpp @@ -57,7 +57,6 @@ ModulesTreeView::ModulesTreeView(QWidget *parent) : BaseTreeView(parent) { setSortingEnabled(true); - setAlwaysAdjustColumnsAction(debuggerCore()->action(AlwaysAdjustModulesColumnWidths)); connect(this, SIGNAL(activated(QModelIndex)), SLOT(moduleActivated(QModelIndex))); @@ -173,8 +172,6 @@ void ModulesTreeView::contextMenuEvent(QContextMenuEvent *ev) engine->requestModuleSections(fileName); else if (actShowDependencies && act == actShowDependencies) QProcess::startDetached(QLatin1String("depends"), QStringList(fileName)); - else - handleBaseContextAction(act); } ModulesWindow::ModulesWindow() |