forked from qt-creator/qt-creator
Debugger: Replace debuggerCore() by equivalent free functions
One indirection less on the user code side, and easier to export if needed (partially addressing QTCREATORBUG-13187) Change-Id: I13ab9f471a3a34da7a6331aefc83f6d02413bfab Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -150,7 +150,7 @@ class SeparatedView : public QTabWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SeparatedView() : QTabWidget(debuggerCore()->mainWindow())
|
||||
SeparatedView() : QTabWidget(Internal::mainWindow())
|
||||
{
|
||||
setTabsClosable(true);
|
||||
connect(this, SIGNAL(tabCloseRequested(int)), SLOT(closeTab(int)));
|
||||
@@ -1902,7 +1902,7 @@ void WatchHandler::updateWatchersWindow()
|
||||
return;
|
||||
previousShowWatch = showWatch;
|
||||
previousShowReturn = showReturn;
|
||||
debuggerCore()->updateWatchersWindow(showWatch, showReturn);
|
||||
Internal::updateWatchersWindow(showWatch, showReturn);
|
||||
}
|
||||
|
||||
QStringList WatchHandler::watchedExpressions()
|
||||
|
||||
Reference in New Issue
Block a user