OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ef092
)
Fix context registration for project tree.
author
con
<qtc-committer@nokia.com>
Tue, 26 Apr 2011 11:18:56 +0000
(13:18 +0200)
committer
con
<qtc-committer@nokia.com>
Tue, 26 Apr 2011 11:19:26 +0000
(13:19 +0200)
Broke with IContext refactoring.
src/plugins/projectexplorer/projecttreewidget.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/projectexplorer/projecttreewidget.cpp
b/src/plugins/projectexplorer/projecttreewidget.cpp
index
722fd98
..
4ff834a
100644
(file)
--- a/
src/plugins/projectexplorer/projecttreewidget.cpp
+++ b/
src/plugins/projectexplorer/projecttreewidget.cpp
@@
-76,6
+76,7
@@
public:
// setExpandsOnDoubleClick(false);
m_context = new Core::IContext(this);
m_context->setContext(Core::Context(Constants::C_PROJECT_TREE));
+ m_context->setWidget(this);
Core::ICore::instance()->addContextObject(m_context);
}
~ProjectTreeView()