summaryrefslogtreecommitdiff
path: root/src/qcam/viewfinder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/viewfinder.h')
-rw-r--r--src/qcam/viewfinder.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qcam/viewfinder.h b/src/qcam/viewfinder.h
index 4c2102a6..260074ae 100644
--- a/src/qcam/viewfinder.h
+++ b/src/qcam/viewfinder.h
@@ -4,8 +4,8 @@
*
* viewfinder.h - qcam - Viewfinder base class
*/
-#ifndef __QCAM_VIEWFINDER_H__
-#define __QCAM_VIEWFINDER_H__
+
+#pragma once
#include <QImage>
#include <QList>
@@ -30,5 +30,3 @@ public:
virtual QImage getCurrentImage() = 0;
};
-
-#endif /* __QCAM_VIEWFINDER_H__ */