diff --git a/Modules/Wrappers/QtWidget/src/otbApplicationLauncherQt.cxx b/Modules/Wrappers/QtWidget/src/otbApplicationLauncherQt.cxx
index d0c6d7842dcc57df46c4e1f701db3b8d5cd78c76..5b4225f479ec6bf70e325f9643b09bcd3ca016fe 100644
--- a/Modules/Wrappers/QtWidget/src/otbApplicationLauncherQt.cxx
+++ b/Modules/Wrappers/QtWidget/src/otbApplicationLauncherQt.cxx
@@ -109,7 +109,7 @@ int main(int argc, char* argv[])
   int ret = qtApp.exec();
 
   // Clean resources
-  if (mainWindow) delete mainWindow;
+  delete mainWindow;
   app = ITK_NULLPTR;
   ApplicationRegistry::CleanRegistry();