Updated japanese translations.
Use default protocol version if the saved one is less than current version number. Updated gitignore.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>true</bool>
|
||||
@@ -55,7 +55,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="gameLabel">
|
||||
<property name="text">
|
||||
<string><p><span style=" font-size:12pt; font-weight:600;">Game Name</span></p></string>
|
||||
<string notr="true"><p><span style=" font-size:12pt; font-weight:600;">Game Name</span></p></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -76,7 +76,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><p><span style=" font-size:10pt;">0.00 GiB</span></p></string>
|
||||
<string notr="true"><p><span style=" font-size:10pt;">0.00 GiB</span></p></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -89,7 +89,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><span style=" font-size:9pt;">[APP] [SAVE] [UPDATE] [DLC]</span></p></body></html></string>
|
||||
<string notr="true"><html><head/><body><p><span style=" font-size:9pt;">[APP] [SAVE] [UPDATE] [DLC]</span></p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||
|
||||
@@ -100,7 +100,10 @@ void ConfigWidget::setDefaultData()
|
||||
ui->videoSkipCheck->setChecked(settings.value("videoSkip", false).toBool());
|
||||
ui->musicSkipCheck->setChecked(settings.value("musicSkip", false).toBool());
|
||||
|
||||
ui->protocolEdit->setText(settings.value("protocolVersion", VITAMTP_PROTOCOL_MAX_VERSION).toString());
|
||||
int protocol_version = settings.value("protocolVersion", VITAMTP_PROTOCOL_MAX_VERSION).toInt();
|
||||
protocol_version = qMax(protocol_version, VITAMTP_PROTOCOL_MAX_VERSION);
|
||||
|
||||
ui->protocolEdit->setText(QString::number(protocol_version));
|
||||
}
|
||||
|
||||
ConfigWidget::~ConfigWidget()
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab">
|
||||
<attribute name="title">
|
||||
@@ -361,7 +361,7 @@
|
||||
<item>
|
||||
<widget class="QLineEdit" name="protocolEdit">
|
||||
<property name="inputMask">
|
||||
<string>9999999</string>
|
||||
<string notr="true">9999999</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user