2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

trying to use gtk-3 and appindicator3, if failed use gtk-x11-2.0 and appindicator1, improved init logs

This commit is contained in:
John Preston
2015-01-18 12:23:03 +03:00
parent 2f9b64fdd7
commit ea5b824977
7 changed files with 67 additions and 36 deletions

View File

@@ -46,9 +46,9 @@ int main(int argc, char *argv[]) {
for (int32 i = 0; i < argc; ++i) {
LOG(("Argument: %1").arg(QString::fromLocal8Bit(argv[i])));
}
QStringList errs = psInitErrors();
for (int32 i = 0, l = errs.size(); i < l; ++i) {
LOG(("Init Error: %1").arg(errs.at(i)));
QStringList logs = psInitLogs();
for (int32 i = 0, l = logs.size(); i < l; ++i) {
LOG(("Init Log: %1").arg(logs.at(i)));
}
}