mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-31 01:25:31 +00:00
fixing include recursive
This commit is contained in:
@@ -29,7 +29,7 @@ namespace ComSquare::Debugger
|
||||
this->_window->setAttribute(Qt::WA_DeleteOnClose);
|
||||
|
||||
this->_ui.setupUi(this->_window);
|
||||
this->_sfWidget(this->_ui.tab);
|
||||
this->_sfWidget = std::make_unique<Renderer::QtSFML>(this->_ui.tab);
|
||||
this->_window->show();
|
||||
QEvent::registerEventType();
|
||||
}
|
||||
|
||||
@@ -4,18 +4,15 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ComSquare::Renderer
|
||||
{
|
||||
class QtSFML;
|
||||
}
|
||||
|
||||
#include <QtCore/QSortFilterProxyModel>
|
||||
#include <QEvent>
|
||||
#include <QMouseEvent>
|
||||
#include "PPU/PPU.hpp"
|
||||
#include "ClosableWindow.hpp"
|
||||
#include "../Renderer/QtRenderer/QtSFML.hpp"
|
||||
#include "../../ui/ui_tileView.h"
|
||||
|
||||
|
||||
namespace ComSquare::Debugger
|
||||
{
|
||||
//! @brief window that allow the user to view all data going through the memory bus.
|
||||
@@ -30,7 +27,7 @@ namespace ComSquare::Debugger
|
||||
//! @brief A reference to the ppu
|
||||
ComSquare::PPU::PPU &_ppu;
|
||||
//! @brief the window
|
||||
Renderer::QtSFML _sfWidget;
|
||||
std::unique_ptr<Renderer::QtSFML> _sfWidget;
|
||||
public:
|
||||
//! @brief Called when the window is closed. Turn off the debugger.
|
||||
void disableViewer();
|
||||
|
||||
Reference in New Issue
Block a user