--- a/main.cpp
+++ b/main.cpp
@@ -32,7 +32,6 @@
     {
         w.show();
     }else{
-        w.show();
         w.hide();
     }
     return a.exec();
