Skip to content

Commit 6ff4919

Browse files
Chr1sNoCalcProgrammer1
authored andcommitted
Moved Software Info API values to ensure translation
* Resolves #4538
1 parent 210f7c4 commit 6ff4919

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

qt/OpenRGBSoftwareInfoPage/OpenRGBSoftwareInfoPage.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ OpenRGBSoftwareInfoPage::OpenRGBSoftwareInfoPage(QWidget *parent) :
2020
ui->setupUi(this);
2121

2222
ui->VersionValue->setText(VERSION_STRING);
23-
ui->SDKVersionValue->setText(QString::number(OPENRGB_SDK_PROTOCOL_VERSION));
24-
ui->PluginAPIVersionValue->setText(QString::number(OPENRGB_PLUGIN_API_VERSION));
2523
ui->BuildDateValue->setText(BUILDDATE_STRING);
2624
ui->GitCommitIDValue->setText(GIT_COMMIT_ID);
2725
ui->GitCommitDateValue->setText(GIT_COMMIT_DATE);
@@ -38,5 +36,8 @@ void OpenRGBSoftwareInfoPage::changeEvent(QEvent *event)
3836
if(event->type() == QEvent::LanguageChange)
3937
{
4038
ui->retranslateUi(this);
39+
40+
ui->SDKVersionValue->setText(QString::number(OPENRGB_SDK_PROTOCOL_VERSION));
41+
ui->PluginAPIVersionValue->setText(QString::number(OPENRGB_PLUGIN_API_VERSION));
4142
}
4243
}

0 commit comments

Comments
 (0)