summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder_qt.h')
-rw-r--r--src/qcam/viewfinder_qt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcam/viewfinder_qt.h b/src/qcam/viewfinder_qt.h
index 756f3fa3..8c621452 100644
--- a/src/qcam/viewfinder_qt.h
+++ b/src/qcam/viewfinder_qt.h
@@ -4,8 +4,8 @@
*
* viewfinder_qt.h - qcam - QPainter-based ViewFinder
*/
-#ifndef __QCAM_VIEWFINDER_QT_H__
-#define __QCAM_VIEWFINDER_QT_H__
+
+#pragma once
#include <QIcon>
#include <QImage>
@@ -61,5 +61,3 @@ private:
QImage image_;
QMutex mutex_; /* Prevent concurrent access to image_ */
};
-
-#endif /* __QCAM_VIEWFINDER_QT_H__ */