Fix header inclusion order

This commit is contained in:
wheremyfoodat 2024-07-23 19:07:59 +03:00 committed by GitHub
parent 020a29b577
commit 65d7b9d886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,8 +12,9 @@
#include <qpa/qplatformnativeinterface.h>
#endif
#include "panda_qt/main_window.hpp"
#include "panda_qt/screen.hpp"
// This comment exists because we don't want clang-format to reorder the headers here
#include "panda_qt/main_window.hpp"
// OpenGL screen widget, based on https://github.com/stenzek/duckstation/blob/master/src/duckstation-qt/displaywidget.cpp
// and https://github.com/melonDS-emu/melonDS/blob/master/src/frontend/qt_sdl/main.cpp
@ -137,4 +138,4 @@ std::optional<WindowInfo> ScreenWidget::getWindowInfo() {
return wi;
}
#endif
#endif