mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
+All supported files
This commit is contained in:
parent
19f606e84b
commit
95267d8f0b
@ -619,7 +619,7 @@ void CModListView::on_installButton_clicked()
|
||||
|
||||
void CModListView::on_installFromFileButton_clicked()
|
||||
{
|
||||
QString filter = tr("Maps") + " (*.h3m *.vmap);;" + tr("Campaigns") + " (*.h3c *.vcmp);;" + tr("Mods") + " (*.zip)";
|
||||
QString filter = tr("All supported files") + " (*.h3m *.vmap *.h3c *.vcmp *.zip);;" + tr("Maps") + " (*.h3m *.vmap);;" + tr("Campaigns") + " (*.h3c *.vcmp);;" + tr("Mods") + " (*.zip)";
|
||||
QStringList files = QFileDialog::getOpenFileNames(this, tr("Select files (mods, maps, campaigns) to install..."), QDir::homePath(), filter);
|
||||
|
||||
for (const auto & file : files)
|
||||
|
Loading…
Reference in New Issue
Block a user