Fixed Windows / Qt5.3 compability

Was written on Mac / Qt5.4. Did not compile on Windows Qt5.3