diff -r ef9ed71e3cf7 -r 9cc612a24b43 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Thu Jan 26 23:54:53 2012 +0100 +++ b/QTfrontend/hwform.cpp Fri Jan 27 10:19:14 2012 +0100 @@ -41,9 +41,12 @@ #include #include #include +#include + +#if (QT_VERSION >= 0x040600) #include #include -#include +#endif #include "hwform.h" #include "game.h" @@ -593,6 +596,7 @@ if (id == ID_PAGE_DRAWMAP) stopAnim = true; +#if (QT_VERSION >= 0x040600) if (!stopAnim) { /**Start animation :**/ @@ -651,6 +655,7 @@ connect(animationOldSlide, SIGNAL(finished()), ui.Pages->widget(lastid), SLOT(hide())); } +#endif } void HWForm::GoBack() @@ -700,8 +705,8 @@ if (curid == ID_PAGE_SCHEME) ammoSchemeModel->Save(); +#if (QT_VERSION >= 0x040600) /**Start animation :**/ - if (curid != 0 && !stopAnim) { int coeff = 1; @@ -759,6 +764,7 @@ connect(animationNewSlide, SIGNAL(finished()), ui.Pages->widget(curid), SLOT(hide())); } +#endif } void HWForm::OpenSnapshotFolder()