Fix settings drafts, enlarge avatars, and show desktop version
This commit is contained in:
1 parent
f408abcf4e
commit
efebf8c5e8
5 files changed
+14
-8
No files matched your search
@@ -79,6 +79,7 @@ int main(int argc, char *argv[]) {
|
||||
#endif
|
||||
QApplication app(argc, argv);
|
||||
app.setApplicationName("vibechat");
|
||||
app.setApplicationVersion(QStringLiteral(VIBECHAT_VERSION));
|
||||
app.setDesktopFileName("org.utun.vibechat");
|
||||
app.setWindowIcon(QIcon(":/icons/app_icon.png"));
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
@@ -181,6 +182,7 @@ int main(int argc, char *argv[]) {
|
||||
QString lvl = cfg.debugLevel().trimmed();
|
||||
if (lvl.isEmpty()) lvl = QStringLiteral("info");
|
||||
debug_apply_global_level(lvl.toUtf8().constData());
|
||||
DEBUG_INFO(DEBUG_CATEGORY_GENERAL, "vibechat: version=%s", qPrintable(app.applicationVersion()));
|
||||
DEBUG_INFO(DEBUG_CATEGORY_CONFIG, "GUI language: preference=%s system=%s selected=%s",
|
||||
qPrintable(cfg.language()), qPrintable(QLocale::system().uiLanguages().join(',')), qPrintable(language));
|
||||
|
||||
|
||||
Reference in new issue
Block a user