fix warning message of deprecated options

This commit is contained in:
Andrei Yankovich 2022-11-05 15:15:57 +03:00
parent 5616b7e6fd
commit f1067da2d7

View File

@ -383,7 +383,13 @@ bool Params::checkOption(const OptionData& optionData, const QString& rawOptionN
return false;
}
QuasarAppUtils::Params::log(optionData.depricatedMsg(),
QuasarAppUtils::Params::log(QString("The %0 option(s) marked as deprecated! "
"And most likely will be removed in next release.").
arg(optionData.names().join("/")),
QuasarAppUtils::Warning);
QuasarAppUtils::Params::log(QString("Option message: %0").arg(optionData.depricatedMsg()),
QuasarAppUtils::Warning);
}