summaryrefslogtreecommitdiff
path: root/src/qcam
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2022-07-05 16:06:51 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-07-18 23:18:07 +0100
commit45f3e0b8f43cfad09852e823baf45681f2d19ffc (patch)
tree5cb21d69ffab27f14bfafaf5aa5bffa12ac8adc3 /src/qcam
parent260b0e1a4ced973f4e5274b3369367fd8cc89156 (diff)
qcam: viewfinder_qt: Fix include orders
Update the header orders to match the code style as decreed by clang-format. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam')
-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