Commit 832d1470 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Fix warning on MSVC


Reviewed-by: default avatarFriedemann Kleint <qtc-committer@nokia.com>

	modified:   src/plugins/debugger/registerwindow.cpp
parent 2117d6af
...@@ -181,7 +181,7 @@ void RegisterWindow::contextMenuEvent(QContextMenuEvent *ev) ...@@ -181,7 +181,7 @@ void RegisterWindow::contextMenuEvent(QContextMenuEvent *ev)
actShowMemory->setEnabled(false); actShowMemory->setEnabled(false);
} else { } else {
actShowMemory->setText(tr("Open memory editor at %1").arg(address)); actShowMemory->setText(tr("Open memory editor at %1").arg(address));
actShowMemory->setEnabled(actionsEnabled & (engineCapabilities & ShowMemoryCapability)); actShowMemory->setEnabled(actionsEnabled && (engineCapabilities & ShowMemoryCapability));
} }
menu.addSeparator(); menu.addSeparator();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment