forked from qt-creator/qt-creator
Debugger: inline DebuggerPluginPrivate::updateWatchersWindow
... into its only caller. Change-Id: I5521bc92351eecea5154070d0ee0f229edafc51b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -748,7 +748,6 @@ public:
|
||||
void fontSettingsChanged(const FontSettings &settings);
|
||||
|
||||
void updateState(DebuggerEngine *engine);
|
||||
void updateWatchersWindow(bool showWatch, bool showReturn);
|
||||
void onCurrentProjectChanged(Project *project);
|
||||
|
||||
void sessionLoaded();
|
||||
@@ -1948,12 +1947,6 @@ void DebuggerPluginPrivate::setInitialState()
|
||||
action(ExpandStack)->setEnabled(false);
|
||||
}
|
||||
|
||||
void DebuggerPluginPrivate::updateWatchersWindow(bool showWatch, bool showReturn)
|
||||
{
|
||||
m_watchersWindow->setVisible(showWatch);
|
||||
m_returnWindow->setVisible(showReturn);
|
||||
}
|
||||
|
||||
void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
|
||||
{
|
||||
QTC_ASSERT(engine, return);
|
||||
@@ -3140,7 +3133,8 @@ void updateState(DebuggerEngine *engine)
|
||||
|
||||
void updateWatchersWindow(bool showWatch, bool showReturn)
|
||||
{
|
||||
dd->updateWatchersWindow(showWatch, showReturn);
|
||||
dd->m_watchersWindow->setVisible(showWatch);
|
||||
dd->m_returnWindow->setVisible(showReturn);
|
||||
}
|
||||
|
||||
QIcon locationMarkIcon()
|
||||
|
Reference in New Issue
Block a user