From b2099121cd38c2826a2ee6d7eadc658f61756ce7 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Fri, 6 Dec 2024 14:19:47 +0000 Subject: [PATCH] Add tooltip / help for files import --- launcher/startGame/StartGameTab.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/launcher/startGame/StartGameTab.cpp b/launcher/startGame/StartGameTab.cpp index 3ba8581fc..573492367 100644 --- a/launcher/startGame/StartGameTab.cpp +++ b/launcher/startGame/StartGameTab.cpp @@ -209,7 +209,17 @@ void StartGameTab::on_buttonUpdateMods_clicked() void StartGameTab::on_buttonHelpImportFiles_clicked() { - QMessageBox::information(this, ui->buttonImportFiles->text(), tr("TODO")); // TODO + QString message = tr( + "This option allows you to import additional data files into your VCMI installation. " + "At the moment, following options are supported:\n\n" + " - Heroes III Maps (.h3m or .vmap).\n" + " - Heroes III Campaigns (.h3c or .vcmp).\n" + " - Heroes III Chronicles using offline backup installer from GOG.com (.exe).\n" + " - VCMI mods in zip format (.zip)\n" + " - VCMI configuration files (.json)\n" + ); + + QMessageBox::information(this, ui->buttonImportFiles->text(), message); } void StartGameTab::on_buttonInstallTranslationHelp_clicked()