Fixed compile of map viewer.
Fixed compile of map viewer.

Removed some debugging code which wasn't cross-platform and so was
breaking the build in our CI system.

kaltsi/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,KDE/android-qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility