Fixed some compiler warnings.
This commit is contained in:
@@ -180,7 +180,7 @@ void gameLobbyDialogImpl::refresh(int actionID) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void gameLobbyDialogImpl::removedFromGame(int reason)
|
void gameLobbyDialogImpl::removedFromGame(int /*reason*/)
|
||||||
{
|
{
|
||||||
inGame = false;
|
inGame = false;
|
||||||
isAdmin = false;
|
isAdmin = false;
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ void joinNetworkGameDialogImpl::fillServerProfileList() {
|
|||||||
treeWidget->resizeColumnToContents ( 3 );
|
treeWidget->resizeColumnToContents ( 3 );
|
||||||
}
|
}
|
||||||
|
|
||||||
void joinNetworkGameDialogImpl::itemFillForm (QTreeWidgetItem* item, int column) {
|
void joinNetworkGameDialogImpl::itemFillForm (QTreeWidgetItem* item, int /*column*/) {
|
||||||
|
|
||||||
bool toIntTrue;
|
bool toIntTrue;
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ void StartSplash::nextAnimationFrame() {
|
|||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartSplash::paintEvent(QPaintEvent * event) {
|
void StartSplash::paintEvent(QPaintEvent * /*event*/) {
|
||||||
|
|
||||||
QPainter painter(this);
|
QPainter painter(this);
|
||||||
|
|
||||||
|
|||||||
@@ -196,9 +196,9 @@ void selectAvatarDialogImpl::refreshAvatarView() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void selectAvatarDialogImpl::toggleGroupBox1(bool toogleState) { if(groupBox->isChecked()) groupBox_2->setChecked(FALSE); }
|
void selectAvatarDialogImpl::toggleGroupBox1(bool /*toggleState*/) { if(groupBox->isChecked()) groupBox_2->setChecked(FALSE); }
|
||||||
|
|
||||||
void selectAvatarDialogImpl::toggleGroupBox2(bool toogleState) { if(groupBox_2->isChecked()) groupBox->setChecked(FALSE); }
|
void selectAvatarDialogImpl::toggleGroupBox2(bool /*toggleState*/) { if(groupBox_2->isChecked()) groupBox->setChecked(FALSE); }
|
||||||
|
|
||||||
QString selectAvatarDialogImpl::getAvatarLink() {
|
QString selectAvatarDialogImpl::getAvatarLink() {
|
||||||
|
|
||||||
|
|||||||
@@ -72,8 +72,9 @@ void startNetworkGameDialogImpl::joinedNetworkGame(unsigned playerId, QString pl
|
|||||||
addConnectedPlayer(playerId, playerName, rights);
|
addConnectedPlayer(playerId, playerName, rights);
|
||||||
}
|
}
|
||||||
|
|
||||||
void startNetworkGameDialogImpl::addConnectedPlayer(unsigned playerId, QString playerName, int rights) {
|
void startNetworkGameDialogImpl::addConnectedPlayer(unsigned playerId, QString playerName, int /*rights*/) {
|
||||||
|
|
||||||
|
// TODO mark admin
|
||||||
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget, 0);
|
QTreeWidgetItem *item = new QTreeWidgetItem(treeWidget, 0);
|
||||||
item->setData(0, Qt::UserRole, playerId);
|
item->setData(0, Qt::UserRole, playerId);
|
||||||
item->setData(0, Qt::DisplayRole, playerName);
|
item->setData(0, Qt::DisplayRole, playerName);
|
||||||
|
|||||||
Reference in New Issue
Block a user