[Fix] Removed unnecessary variables

removed QApplication variables sent trough methods ( global qApp
variable provided in <QApplication>

Fixed 0 width and Height when you do not set it explicitly