summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qcam/viewfinder_qt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qcam/viewfinder_qt.cpp b/src/qcam/viewfinder_qt.cpp
index 6844f998..27955e3f 100644
--- a/src/qcam/viewfinder_qt.cpp
+++ b/src/qcam/viewfinder_qt.cpp
@@ -11,6 +11,8 @@
#include <stdint.h>
#include <utility>
+#include <libcamera/formats.h>
+
#include <QImage>
#include <QImageWriter>
#include <QMap>
@@ -18,9 +20,8 @@
#include <QPainter>
#include <QtDebug>
-#include <libcamera/formats.h>
-
#include "../cam/image.h"
+
#include "format_converter.h"
static const QMap<libcamera::PixelFormat, QImage::Format> nativeFormats