Commits

minirop committed a370cd0

changed the timer to 0 on error

Comments (0)

Files changed (1)

 	if(w < 1 || h < 1)
 	{
 		QMessageBox::critical(this, "Error", "Invalid dimension. exiting");
-		QTimer::singleShot(10, qApp, SLOT(quit()));
+		QTimer::singleShot(0, qApp, SLOT(quit()));
 	}
 	else
 	{