Added a QImage return for the Network::readyRead() function in
network.cpp to avoid crashes.