mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-21 14:16:08 +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);
|
graphDock->setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||||
graphView = new DisassemblerGraphView(graphDock);
|
graphView = new DisassemblerGraphView(graphDock);
|
||||||
graphDock->setWidget(graphView);
|
graphDock->setWidget(graphView);
|
||||||
connect(graphDock, &QDockWidget::visibilityChanged, graphDock, [](bool visibility) {
|
connect(graphDock, &QDockWidget::visibilityChanged, graphDock, [](bool visibility)
|
||||||
|
{
|
||||||
if (visibility)
|
if (visibility)
|
||||||
{
|
{
|
||||||
Core()->setMemoryWidgetPriority(CutterCore::MemoryWidgetType::Graph);
|
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)
|
if (type == CutterCore::MemoryWidgetType::Graph)
|
||||||
{
|
{
|
||||||
graphDock->raise();
|
graphDock->raise();
|
||||||
|
@ -18,7 +18,6 @@ class DockWidget;
|
|||||||
class Omnibar;
|
class Omnibar;
|
||||||
class PreviewWidget;
|
class PreviewWidget;
|
||||||
class Notepad;
|
class Notepad;
|
||||||
//class SideBar;
|
|
||||||
class Highlighter;
|
class Highlighter;
|
||||||
class AsciiHighlighter;
|
class AsciiHighlighter;
|
||||||
class GraphicsBar;
|
class GraphicsBar;
|
||||||
|
Loading…
Reference in New Issue
Block a user