ソースを参照

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

we tried to print arguments that didn't exist, generating a segfault.
unknown 14 年 前
コミット
a0c87bba1c
共有1 個のファイルを変更した0 個の追加1 個の削除を含む
  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;
   QTimer autoExit;
   if (argc < 2 || QString(argv[1]) != "-I")
   if (argc < 2 || QString(argv[1]) != "-I")
     {
     {
-    std::cout << argc << argv[1] << std::endl;
     QObject::connect(&autoExit, SIGNAL(timeout()), &app, SLOT(quit()));
     QObject::connect(&autoExit, SIGNAL(timeout()), &app, SLOT(quit()));
     autoExit.start(500);
     autoExit.start(500);
     }
     }