Explorar el Código

Maybe ununsed

nordsoft hace 2 años
padre
commit
1f9bec32a1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);