~neon/ksirk/master

« back to all changes in this revision

Viewing changes to ksirk/Dialogs/newGameDialogImpl.cpp

  • Committer: Laurent Montel
  • Date: 2019-01-11 12:25:11 UTC
  • Revision ID: git-v1:a8fedc255708e7a8fb16d6852e894517e0974cd3
Fix some clazy warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  qCDebug(KSIRK_LOG);
48
48
  setupUi(this);
49
49
  
50
 
  QObject::connect(nextButton, SIGNAL(clicked()), this, SLOT(slotOK()) );
51
 
  QObject::connect(cancelButton, SIGNAL(clicked()), this, SLOT(slotCancel()) );
 
50
  QObject::connect(nextButton, &QAbstractButton::clicked, this, &NewGameWidget::slotOK );
 
51
  QObject::connect(cancelButton, &QAbstractButton::clicked, this, &NewGameWidget::slotCancel );
52
52
  QObject::connect(skinCombo, SIGNAL(activated(int)), this, SLOT(slotSkinChanged(int)) );
53
 
  QObject::connect(ghnsbutton, SIGNAL(clicked()), this, SLOT(slotGHNS()) );
 
53
  QObject::connect(ghnsbutton, &QAbstractButton::clicked, this, &NewGameWidget::slotGHNS );
54
54
  QObject::connect(tcpPortEntry,SIGNAL(valueChanged(int)),this, SLOT(slotTcpPortEdited(int)));
55
55
}
56
56