Prechádzať zdrojové kódy

Show debug message instead of warning if no .qm file for selected language exists

Alexander Wilms 1 rok pred
rodič
commit
187b7b0517
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      launcher/mainwindow_moc.cpp
  2. 1 1
      mapeditor/mainwindow.cpp

+ 1 - 1
launcher/mainwindow_moc.cpp

@@ -243,7 +243,7 @@ void MainWindow::updateTranslation()
 
 	if(!QFile::exists(translationFileResourcePath))
 	{
-		logGlobal->warn("Translation file %s does not exist", translationFileResourcePath.toStdString());
+		logGlobal->debug("Translation file %s does not exist", translationFileResourcePath.toStdString());
 		return;
 	}
 

+ 1 - 1
mapeditor/mainwindow.cpp

@@ -140,7 +140,7 @@ void MainWindow::loadTranslation()
 
 	if(!QFile::exists(translationFileResourcePath))
 	{
-		logGlobal->warn("Translation file %s does not exist", translationFileResourcePath.toStdString());
+		logGlobal->debug("Translation file %s does not exist", translationFileResourcePath.toStdString());
 		return;
 	}