Commit c6be16e6 authored by Andrius Štikonas's avatar Andrius Štikonas

Convert disconnect to new qt5 syntax.

parent f4d3021c
......@@ -541,8 +541,7 @@ void Mainwindow::menuEndGame()
// Start a new game
void Mainwindow::menuNewLSkatGame()
disconnect(mView, SIGNAL(signalLeftMousePress(QPoint)),
this, SLOT(menuNewLSkatGame()));
disconnect(mView, &GameView::signalLeftMousePress, this, &Mainwindow::menuNewLSkatGame);
Player *p1 = mLSkatConfig->player(0);
Player *p2 = mLSkatConfig->player(1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment