← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4061: Drop Qt3 workaround

 

------------------------------------------------------------
revno: 4061
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Fri 2014-07-04 19:46:32 +0200
message:
  Drop Qt3 workaround
modified:
  core/Omega.hpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'core/Omega.hpp'
--- core/Omega.hpp	2014-07-04 17:46:32 +0000
+++ core/Omega.hpp	2014-07-04 17:46:32 +0000
@@ -10,21 +10,7 @@
 
 #pragma once
 
-// qt3 sucks
-#ifdef QT_MOC_CPP
-	#undef slots
-	#include<Python.h>
-	#define slots slots
-#else
-	#ifdef slots
-	 #undef slots
-	 #include<Python.h>
-	 #define slots
-	#else
-	 #include<Python.h>
-	#endif
-#endif
-
+#include <Python.h>
 #include <boost/date_time/posix_time/posix_time.hpp>
 #include <fstream>
 #include <set>