mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 13:46:06 +00:00
AStyle, remove a comment
This commit is contained in:
parent
294eb672d7
commit
2bb6b54e01
@ -203,13 +203,15 @@ void MainWindow::initUI()
|
||||
graphDock->setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
graphView = new DisassemblerGraphView(graphDock);
|
||||
graphDock->setWidget(graphView);
|
||||
connect(graphDock, &QDockWidget::visibilityChanged, graphDock, [](bool visibility) {
|
||||
connect(graphDock, &QDockWidget::visibilityChanged, graphDock, [](bool visibility)
|
||||
{
|
||||
if (visibility)
|
||||
{
|
||||
Core()->setMemoryWidgetPriority(CutterCore::MemoryWidgetType::Graph);
|
||||
}
|
||||
});
|
||||
connect(Core(), &CutterCore::raisePrioritizedMemoryWidget, graphDock, [=](CutterCore::MemoryWidgetType type) {
|
||||
connect(Core(), &CutterCore::raisePrioritizedMemoryWidget, graphDock, [ = ](CutterCore::MemoryWidgetType type)
|
||||
{
|
||||
if (type == CutterCore::MemoryWidgetType::Graph)
|
||||
{
|
||||
graphDock->raise();
|
||||
|
@ -18,7 +18,6 @@ class DockWidget;
|
||||
class Omnibar;
|
||||
class PreviewWidget;
|
||||
class Notepad;
|
||||
//class SideBar;
|
||||
class Highlighter;
|
||||
class AsciiHighlighter;
|
||||
class GraphicsBar;
|
||||
|
Loading…
Reference in New Issue
Block a user