mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
missing character
This commit is contained in:
@ -305,7 +305,7 @@ void FirstLaunchView::extractGogData()
|
|||||||
QString fileExe = QFileDialog::getOpenFileName(this, tr("Select a GOG installer (exe) file..."), QDir::homePath(), filterExe);
|
QString fileExe = QFileDialog::getOpenFileName(this, tr("Select a GOG installer (exe) file..."), QDir::homePath(), filterExe);
|
||||||
if(fileExe.isEmpty())
|
if(fileExe.isEmpty())
|
||||||
return;
|
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!"));
|
QMessageBox::critical(this, tr("Invalid file selected"), tr("You have to select a GOG installer (exe) file!"));
|
||||||
return;
|
return;
|
||||||
@ -320,7 +320,7 @@ void FirstLaunchView::extractGogData()
|
|||||||
QString fileBin = QFileDialog::getOpenFileName(this, tr("Select a GOG data (bin) file..."), QFileInfo(fileExe).absolutePath(), filterBin);
|
QString fileBin = QFileDialog::getOpenFileName(this, tr("Select a GOG data (bin) file..."), QFileInfo(fileExe).absolutePath(), filterBin);
|
||||||
if(fileBin.isEmpty())
|
if(fileBin.isEmpty())
|
||||||
return;
|
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!"));
|
QMessageBox::critical(this, tr("Invalid file selected"), tr("You have to select a GOG data (bin) file!"));
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user