[Kde-hardware-devel] KDE/kdelibs/solid/tests

Andreas Hartmetz ahartmetz at gmail.com
Thu Feb 25 00:03:54 CET 2010


SVN commit 1095733 by ahartmetz:

Fix the build (with tests).
I've been waiting for a situation to apply the #define private public hack
for years :)
CCMAIL: kde-hardware-devel at kde.org


 M  +3 -0      halbasictest.cpp  


--- trunk/KDE/kdelibs/solid/tests/halbasictest.cpp #1095732:1095733
@@ -21,7 +21,10 @@
 
 #include <QtTest/QtTest>
 
+#define private public
 #include "solid/backends/hal/halmanager.h"
+#undef private
+
 #include <solid/device.h>
 #include <solid/ifaces/device.h>
 #include <solid/ifaces/deviceinterface.h>


More information about the Kde-hardware-devel mailing list