diff options
Diffstat (limited to 'Swift/QtUI/QtSwiftUtil.h')
-rw-r--r-- | Swift/QtUI/QtSwiftUtil.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Swift/QtUI/QtSwiftUtil.h b/Swift/QtUI/QtSwiftUtil.h index 60a9f18..2d0f970 100644 --- a/Swift/QtUI/QtSwiftUtil.h +++ b/Swift/QtUI/QtSwiftUtil.h @@ -4,12 +4,9 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#ifndef SWIFT_QtSwiftUtil_H -#define SWIFT_QtSwiftUtil_H +#pragma once #define P2QSTRING(a) QString::fromUtf8(a.c_str()) #define Q2PSTRING(a) std::string(a.toUtf8()) #define B2QDATE(a) QDateTime::fromTime_t((a - boost::posix_time::from_time_t(0)).total_seconds()) - -#endif |