nordsoft 2 anni fa
parent
commit
1f9bec32a1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      launcher/lobby/chat_moc.cpp

+ 1 - 1
launcher/lobby/chat_moc.cpp

@@ -12,7 +12,7 @@ Chat::Chat(QWidget *parent) :
 	
 	ui->messageEdit->setCompleter(&namesCompleter);
 	
-	for(auto i : {GLOBAL, ROOM})
+	for([[maybe_unused]] auto i : {GLOBAL, ROOM})
 		chatDocuments.push_back(new QTextDocument(this));
 	
 	setChatId(GLOBAL);