Scale UI component, used in launcher

This commit is contained in:
Klaus Basan
2018-05-24 13:02:36 +02:00
parent 86d02716a2
commit f80b2293f5
5 changed files with 303 additions and 70 deletions

View File

@@ -357,6 +357,9 @@ QString CSwiftLauncher::toCmdLine(const QString &exe, const QStringList &exeArgs
void CSwiftLauncher::startButtonPressed()
{
const QObject *sender = QObject::sender();
const qreal scaleFactor = ui->comp_Scale->getScaleFactor();
CGuiApplication::highDpiScreenSupport(scaleFactor);
if (sender == ui->tb_SwiftGui)
{
if (this->setSwiftGuiExecutable())