Changed raw pointer to QScopedPointer

Changed networkMngr from raw pointer in main.cpp to
QScopedPointer<QNetworkManager>