1. minirop
  2. KVNS

Commits

minirop  committed a370cd0

changed the timer to 0 on error

  • Participants
  • Parent commits bc9c186
  • Branches default

Comments (0)

Files changed (1)

File MainWindow.cpp

View file
 	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
 	{