Преглед изворни кода

Update firstlaunch_moc.cpp

Laserlicht пре 1 година
родитељ
комит
0695502e89
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      launcher/firstLaunch/firstlaunch_moc.cpp

+ 1 - 1
launcher/firstLaunch/firstlaunch_moc.cpp

@@ -327,7 +327,7 @@ void FirstLaunchView::extractGogData()
 		QFile tmpFile(file);
 		if(!tmpFile.open(QIODevice::ReadOnly))
 		{
-			QMessageBox::critical(this, tr("File cannot opened"), titleErr);
+			QMessageBox::critical(this, tr("File cannot opened"), tmpFile.errorString());
 			return QString{};
 		}
 		QByteArray magicFile = tmpFile.read(magic.length());