changeset 550:5aa6e7af4ca9

Damn, for the Qt Contest a bug creating the shell script got into the code. Always code for the bash shell was spit out due to missing Qt defines. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@790 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Wed, 01 Oct 2008 16:54:26 +0000
parents 7699cdcba6cf
children 72d7b23f77cd
files src/templateBatchScript.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/templateBatchScript.cpp	Tue Sep 30 04:07:32 2008 +0000
+++ b/src/templateBatchScript.cpp	Wed Oct 01 16:54:26 2008 +0000
@@ -19,6 +19,9 @@
 
 #include "templateBatchScript.h"
 
+// Need to include QObject here so that platform specific defines like Q_OS_WIN32 are set.
+#include <QObject>
+
 /*!
     \brief The only and static function of this class returns a batch or shell script
     as string that can be used to call an indenter with the current settings from