Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
9106c721
Commit
9106c721
authored
May 15, 2009
by
Daniel Molkentin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
parents
48bdf106
a74f4949
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
19 deletions
+8
-19
src/plugins/debugger/debuggermanager.cpp
src/plugins/debugger/debuggermanager.cpp
+8
-11
src/plugins/debugger/debuggermanager.h
src/plugins/debugger/debuggermanager.h
+0
-1
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/debuggerplugin.cpp
+0
-7
No files found.
src/plugins/debugger/debuggermanager.cpp
View file @
9106c721
...
...
@@ -430,6 +430,14 @@ void DebuggerManager::init()
m_threadsDock
=
createDockForWidget
(
m_threadsWindow
);
QSplitter
*
localsAndWatchers
=
new
QSplitter
(
Qt
::
Vertical
,
0
);
localsAndWatchers
->
setWindowTitle
(
m_localsWindow
->
windowTitle
());
localsAndWatchers
->
addWidget
(
m_localsWindow
);
localsAndWatchers
->
addWidget
(
m_watchersWindow
);
localsAndWatchers
->
setStretchFactor
(
0
,
3
);
localsAndWatchers
->
setStretchFactor
(
1
,
1
);
m_watchDock
=
createDockForWidget
(
localsAndWatchers
);
setStatus
(
DebuggerProcessNotReady
);
}
...
...
@@ -457,17 +465,6 @@ IDebuggerManagerAccessForEngines *DebuggerManager::engineInterface()
return
dynamic_cast
<
IDebuggerManagerAccessForEngines
*>
(
this
);
}
void
DebuggerManager
::
createDockWidgets
()
{
QSplitter
*
localsAndWatchers
=
new
QSplitter
(
Qt
::
Vertical
,
0
);
localsAndWatchers
->
setWindowTitle
(
m_localsWindow
->
windowTitle
());
localsAndWatchers
->
addWidget
(
m_localsWindow
);
localsAndWatchers
->
addWidget
(
m_watchersWindow
);
localsAndWatchers
->
setStretchFactor
(
0
,
3
);
localsAndWatchers
->
setStretchFactor
(
1
,
1
);
m_watchDock
=
createDockForWidget
(
localsAndWatchers
);
}
void
DebuggerManager
::
createNewDock
(
QWidget
*
widget
)
{
QDockWidget
*
dockWidget
=
new
QDockWidget
(
widget
->
windowTitle
(),
m_mainWindow
);
...
...
src/plugins/debugger/debuggermanager.h
View file @
9106c721
...
...
@@ -316,7 +316,6 @@ private:
//
QWidget
*
threadsWindow
()
const
{
return
m_threadsWindow
;
}
QList
<
QDockWidget
*>
dockWidgets
()
const
{
return
m_dockWidgets
;
}
void
createDockWidgets
();
virtual
bool
qtDumperLibraryEnabled
()
const
;
virtual
QString
qtDumperLibraryName
()
const
;
...
...
src/plugins/debugger/debuggerplugin.cpp
View file @
9106c721
...
...
@@ -173,10 +173,6 @@ class DebugMode : public Core::BaseMode
public:
DebugMode
(
QObject
*
parent
=
0
);
~
DebugMode
();
// IMode
void
activated
()
{}
void
shutdown
()
{}
};
DebugMode
::
DebugMode
(
QObject
*
parent
)
...
...
@@ -409,8 +405,6 @@ DebuggerPlugin::~DebuggerPlugin()
void
DebuggerPlugin
::
shutdown
()
{
if
(
m_debugMode
)
m_debugMode
->
shutdown
();
// saves state including manager information
QTC_ASSERT
(
m_manager
,
/**/
);
if
(
m_manager
)
m_manager
->
shutdown
();
...
...
@@ -758,7 +752,6 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess
toolBarAddingLayout
->
addWidget
(
rightPaneSplitter
);
toolBarAddingLayout
->
addWidget
(
debugToolBar
);
m_manager
->
createDockWidgets
();
m_manager
->
setSimpleDockWidgetArrangement
();
readSettings
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment