1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

missing character

This commit is contained in:
Laserlicht 2024-04-27 23:39:10 +02:00 committed by GitHub
parent 3952b661a0
commit 10d299c74b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -305,7 +305,7 @@ void FirstLaunchView::extractGogData()
QString fileExe = QFileDialog::getOpenFileName(this, tr("Select a GOG installer (exe) file..."), QDir::homePath(), filterExe);
if(fileExe.isEmpty())
return;
if(!fileExe.endsWith(".exe", Qt::CaseInsensitive)
if(!fileExe.endsWith(".exe", Qt::CaseInsensitive))
{
QMessageBox::critical(this, tr("Invalid file selected"), tr("You have to select a GOG installer (exe) file!"));
return;
@ -320,7 +320,7 @@ void FirstLaunchView::extractGogData()
QString fileBin = QFileDialog::getOpenFileName(this, tr("Select a GOG data (bin) file..."), QFileInfo(fileExe).absolutePath(), filterBin);
if(fileBin.isEmpty())
return;
if(!fileBin.endsWith(".bin", Qt::CaseInsensitive)
if(!fileBin.endsWith(".bin", Qt::CaseInsensitive))
{
QMessageBox::critical(this, tr("Invalid file selected"), tr("You have to select a GOG data (bin) file!"));
return;