Ok. Seems to me if you disconnect on any page, you should go to the main net page, since presumably you were in some part of net play. I think this should avoid ending up in a "lobby" after disconnecting
set(QT_USE_QTCORE TRUE)
find_package(Qt4 REQUIRED)
if(NOT CROSSAPPLE)
include(${QT_USE_FILE})
endif()
file(GLOB SRCS "*.c" "*.cpp")
file(GLOB PUBLIC_HEADERS "*.h")
qt4_wrap_cpp(MOC_SRCS "quazipfile.h")
set(SRCS ${SRCS} ${MOC_SRCS})
add_library(quazip STATIC ${SRCS})