Commit 6e9d1be2 authored by Alexander Lohnau's avatar Alexander Lohnau 💬

Remove unused variables

parent 374c259e
......@@ -277,7 +277,6 @@ void Manager::initialize() {
d->activePlayer = White;
d->whiteTimeControl.currentTime = d->whiteTimeControl.baseTime;
d->blackTimeControl.currentTime = d->blackTimeControl.baseTime;
QList<Protocol*> protocols;
Protocol::white()->setTimeControl(d->whiteTimeControl);
Protocol::black()->setTimeControl(d->blackTimeControl);
connect ( Protocol::white(), &Protocol::pieceMoved, this, &Manager::moveByProtocol );
......
......@@ -316,8 +316,6 @@ void MainWindow::fileLoad() {
void MainWindow::protocolInitSuccesful() {
qCDebug(LOG_KNIGHTS) << "Show Clock:" << Settings::showClock() << "Show Console:" << Settings::showConsole();
QString whiteName = Protocol::white()->playerName();
QString blackName = Protocol::black()->playerName();
updateCaption();
// show clock action button if timer active
......
......@@ -524,7 +524,6 @@ void ChessRules::changeNotation ( Move* move, Move::Notation notation, Color col
* * Rbe1 == Rook from file b to e1
* * cd4 == Pawn from file c to d4
*/
QChar c;
PieceType type = NoType;
int file = -1;
int rank = -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