浏览代码

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;
   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);
     }