From 377e0d72f3180c804e66d656605e1b671232187e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Wed, 26 Jun 2013 01:09:51 +0200 Subject: [PATCH] fix some includes in porting script --- tools/port-plasma2.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/port-plasma2.sh b/tools/port-plasma2.sh index 2f114172e..804092ec2 100755 --- a/tools/port-plasma2.sh +++ b/tools/port-plasma2.sh @@ -40,7 +40,7 @@ for FS in `find $PWD -name '*.qml'`; do perl -p -i -e 's/QtQuick 1.1/QtQuick 2.0/g' $FS done -exit +#exit # Change plugin definitions, this is useful if you want to @@ -92,6 +92,12 @@ for FS in `find $PWD -name '*.h' -o -name '*.cpp'`; do perl -p -i -e 's/QGraphicsSceneWheel/QWheelEvent/g' $FS perl -p -i -e 's/QGraphicsSceneHoverEvent/QHoverEvent/g' $FS + # Fix up includes + perl -p -i -e 's/\#include \/\#include \/g' $FS + perl -p -i -e 's/\#include \/\#include \/g' $FS + perl -p -i -e 's/\#include \/\#include \/g' $FS + + done