chore: use application display name instead
This commit is contained in:
parent
9136e75e26
commit
7a26347a36
@ -1144,7 +1144,7 @@ void Caesium::countUpdate()
|
|||||||
item_count = ui->listTreeWidget->topLevelItemCount();
|
item_count = ui->listTreeWidget->topLevelItemCount();
|
||||||
if (opened_list != "" && QFileInfo(opened_list).baseName() != "tmplst")
|
if (opened_list != "" && QFileInfo(opened_list).baseName() != "tmplst")
|
||||||
{
|
{
|
||||||
this->setWindowTitle(QFileInfo(opened_list).baseName() + tr(" - Caesium - Image Compressor"));
|
this->setWindowTitle(QFileInfo(opened_list).baseName());
|
||||||
}
|
}
|
||||||
previous_list = opened_list;
|
previous_list = opened_list;
|
||||||
}
|
}
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
<height>0</height>
|
<height>0</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
|
||||||
<string>Caesium - Image Compressor</string>
|
|
||||||
</property>
|
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="icons.qrc">
|
<iconset resource="icons.qrc">
|
||||||
<normaloff>:/icons/caesium_icon.png</normaloff>:/icons/caesium_icon.png</iconset>
|
<normaloff>:/icons/caesium_icon.png</normaloff>:/icons/caesium_icon.png</iconset>
|
||||||
|
2387
caesium_bk.ui
2387
caesium_bk.ui
File diff suppressed because it is too large
Load Diff
1
main.cpp
1
main.cpp
@ -49,6 +49,7 @@ int main(int argc, char *argv[])
|
|||||||
settings.setIniCodec("UTF-8");
|
settings.setIniCodec("UTF-8");
|
||||||
#endif // QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
#endif // QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
|
|
||||||
|
a.setApplicationDisplayName(QCoreApplication::translate("main", "Caesium - Image Compressor"));
|
||||||
a.addLibraryPath(a.applicationDirPath() + "/lib/");
|
a.addLibraryPath(a.applicationDirPath() + "/lib/");
|
||||||
|
|
||||||
QString locale = settings.value("Preferences/language").value<QString>();
|
QString locale = settings.value("Preferences/language").value<QString>();
|
||||||
|
Loading…
Reference in New Issue
Block a user