diff --git a/udpserversetup.cpp b/udpserversetup.cpp index dc5ac61..72b5996 100644 --- a/udpserversetup.cpp +++ b/udpserversetup.cpp @@ -91,7 +91,7 @@ void udpServerSetup::on_usersTable_cellClicked(int row, int col) { qInfo() << "Clicked on " << row << "," << col; if (row == ui->usersTable->model()->rowCount() - 1 && ui->usersTable->item(row, 0) != NULL) { - addUserLine(" ", " ", 0); + addUserLine("", "", 0); } } @@ -124,4 +124,4 @@ void udpServerSetup::addUserLine(const QString& user, const QString& pass, const comboBox->setCurrentIndex(type); ui->usersTable->setCellWidget(ui->usersTable->rowCount() - 1, 2, comboBox); -} \ No newline at end of file +}