Skip to content

Commit

Permalink
Update main_window.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Dec 27, 2024
1 parent 5ce6d6d commit cb1d4f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panda_qt/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MainWindow::MainWindow(QApplication* app, QWidget* parent) : QMainWindow(parent)

// We pass a callback to the screen widget that will be triggered every time we resize the screen
screen = new ScreenWidget([this](u32 width, u32 height) { handleScreenResize(width, height); }, nullptr);
setCentralWidget(screen);
// setCentralWidget(screen);

screen->show();
appRunning = true;
Expand Down Expand Up @@ -695,4 +695,4 @@ void MainWindow::setupControllerSensors(SDL_GameController* controller) {
if (haveAccelerometer) {
SDL_GameControllerSetSensorEnabled(controller, SDL_SENSOR_ACCEL, SDL_TRUE);
}
}
}

0 comments on commit cb1d4f7

Please sign in to comment.