mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Scale UI component, used in launcher
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user