forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.10' into 4.11
Change-Id: Ic05bd53ea060d42c2013884972c05de08ed63f10
This commit is contained in:
@@ -2285,8 +2285,8 @@ void DebuggerEngine::openDisassemblerView(const Location &location)
|
||||
|
||||
void DebuggerEngine::raiseWatchersWindow()
|
||||
{
|
||||
if (d->m_watchersView) {
|
||||
if (auto dock = qobject_cast<QDockWidget *>(d->m_watchersView->parentWidget())) {
|
||||
if (d->m_watchersView && d->m_watchersWindow) {
|
||||
if (auto dock = qobject_cast<QDockWidget *>(d->m_watchersWindow->parentWidget())) {
|
||||
if (QAction *act = dock->toggleViewAction()) {
|
||||
if (!act->isChecked())
|
||||
QTimer::singleShot(1, act, [act] { act->trigger(); });
|
||||
|
||||
Reference in New Issue
Block a user