This commit is contained in:
Your Name
2024-02-13 03:17:31 -06:00
parent ff80bfe06a
commit 589c5dfc82
2 changed files with 17 additions and 17 deletions

View File

@@ -43,10 +43,6 @@ LogoWidget::LogoWidget(QWidget *parent) : QWidget(parent) {
// connect(&m_anim, SIGNAL(valueChanged(QVariant)), SLOT(update()));
}
void BodyWindow::paintEvent(QPaintEvent *event) {
QPainter painter(this);
}
BodyWindow::BodyWindow(QWidget *parent) : fuel_filter(1.0, 5., 1. / UI_FREQ), QWidget(parent) {
QGridLayout *layout = new QGridLayout(this);
main_layout->setSpacing(0);
@@ -64,6 +60,10 @@ BodyWindow::BodyWindow(QWidget *parent) : fuel_filter(1.0, 5., 1. / UI_FREQ), QW
QObject::connect(uiState(), &UIState::uiUpdate, this, &BodyWindow::updateState);
}
void BodyWindow::paintEvent(QPaintEvent *event) {
QPainter painter(this);
}
void BodyWindow::updateState(const UIState &s) {
// if (!isVisible()) {
// return;