summaryrefslogtreecommitdiffstats
path: root/src/widget/wtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/wtime.h')
-rw-r--r--src/widget/wtime.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/widget/wtime.h b/src/widget/wtime.h
index 9c4c464e09..982c09b8a8 100644
--- a/src/widget/wtime.h
+++ b/src/widget/wtime.h
@@ -2,8 +2,7 @@
// WTime is a widget showing the current time
// In skin.xml, it is represented by a <Time> node.
-#ifndef WTIME_H
-#define WTIME_H
+#pragma once
#include <QTimer>
@@ -33,5 +32,3 @@ class WTime: public WLabel {
static const short s_iSecondInterval = 100;
static const short s_iMinuteInterval = 1000;
};
-
-#endif /* WTIME_H */