Explorar o código

BUG: Fix failing test: ctkButtonGroupTest1, when not in interactive mode

we tried to print arguments that didn't exist, generating a segfault.
unknown %!s(int64=15) %!d(string=hai) anos
pai
achega
a0c87bba1c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Libs/Widgets/Testing/Cpp/ctkButtonGroupTest1.cpp

+ 0 - 1
Libs/Widgets/Testing/Cpp/ctkButtonGroupTest1.cpp

@@ -168,7 +168,6 @@ int ctkButtonGroupTest1(int argc, char * argv [] )
   QTimer autoExit;
   if (argc < 2 || QString(argv[1]) != "-I")
     {
-    std::cout << argc << argv[1] << std::endl;
     QObject::connect(&autoExit, SIGNAL(timeout()), &app, SLOT(quit()));
     autoExit.start(500);
     }