From 8eb993a7f81428b816d47887cd60139d1dfa7fff Mon Sep 17 00:00:00 2001 From: Vlad Pyatnichenko Date: Tue, 5 Apr 2016 20:31:05 +0300 Subject: Ensure backward compatibility and some cosmetic changes. --- singleapplication.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'singleapplication.h') diff --git a/singleapplication.h b/singleapplication.h index dc6beb3..91f5b11 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -2,6 +2,10 @@ #define SINGLE_APPLICATION_H #include +#ifndef QAPPLICATION_CLASS + #define QAPPLICATION_CLASS QApplication +#endif + #include QT_STRINGIFY(QAPPLICATION_CLASS) class SingleApplicationPrivate; -- cgit v1.2.1