Changeset View
Changeset View
Standalone View
Standalone View
krusader/main.cpp
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 72 | { | |||
---|---|---|---|---|---|
82 | QDBusReply<void> reply; | 82 | QDBusReply<void> reply; | ||
83 | if (remoteApp.isValid()) | 83 | if (remoteApp.isValid()) | ||
84 | reply = remoteApp.call("newTabs", tabs); | 84 | reply = remoteApp.call("newTabs", tabs); | ||
85 | 85 | | |||
86 | if (!reply.isValid()) | 86 | if (!reply.isValid()) | ||
87 | fprintf(stderr, "DBus Error: %s, %s\n", reply.error().name().toLocal8Bit().constData(), reply.error().message().toLocal8Bit().constData()); | 87 | fprintf(stderr, "DBus Error: %s, %s\n", reply.error().name().toLocal8Bit().constData(), reply.error().message().toLocal8Bit().constData()); | ||
88 | } | 88 | } | ||
89 | 89 | | |||
90 | //! An object that manages archives in several parts of the source code. | | |||
91 | KRarcHandler arcHandler; | | |||
92 | | ||||
93 | int main(int argc, char *argv[]) | 90 | int main(int argc, char *argv[]) | ||
94 | { | 91 | { | ||
95 | // set global log message format | 92 | // set global log message format | ||
96 | qSetMessagePattern(KrServices::GLOBAL_MESSAGE_PATTERN); | 93 | qSetMessagePattern(KrServices::GLOBAL_MESSAGE_PATTERN); | ||
97 | 94 | | |||
98 | // prevent qt5-webengine crashing | 95 | // prevent qt5-webengine crashing | ||
99 | QApplication::setAttribute(Qt::AA_ShareOpenGLContexts); | 96 | QApplication::setAttribute(Qt::AA_ShareOpenGLContexts); | ||
100 | 97 | | |||
▲ Show 20 Lines • Show All 217 Lines • Show Last 20 Lines |