<commit_before>#include <string>
#include <QApplication>
#include <QMainWindow>
#include "qIGTLIOClientWidget.h"
#include "vtkIGTLIOLogic.h"
#include "qIGTLIOLogicController.h"

int main(int argc, char** argv)
{
  QApplication app(argc, argv);


  vtkIGTLIOLogicPointer logic = vtkIGTLIOLogicPointer::New();
  qIGTLIOLogicController logicController;
  logicController.setLogic(logic);

  qIGTLIOClientWidget widget;

  widget.setGeometry(0, 0, 859, 811);
  widget.show();
  widget.activateWindow();
  widget.raise();

  int val = app.exec();
  return val;
}
<commit_msg>Fixed crashing qIgtlClient when adding connector from gui.<commit_after>#include <string>
#include <QApplication>
#include <QMainWindow>
#include "qIGTLIOClientWidget.h"
#include "vtkIGTLIOLogic.h"
#include "qIGTLIOLogicController.h"

int main(int argc, char** argv)
{
  QApplication app(argc, argv);


  vtkIGTLIOLogicPointer logic = vtkIGTLIOLogicPointer::New();
  qIGTLIOLogicController logicController;
  logicController.setLogic(logic);

  qIGTLIOClientWidget widget;
  widget.setLogic(logic);

  widget.setGeometry(0, 0, 859, 811);
  widget.show();
  widget.activateWindow();
  widget.raise();

  int val = app.exec();
  return val;
}

{'fraction_non_alphanumeric': 0.12303881090008258, 'fraction_numerical': 0.013212221304706853, 'mean_word_length': 5.925714285714286, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3194557', 'n_tokens_mistral': 452, 'n_tokens_neox': 438, 'n_words': 88}