Changeset View
Changeset View
Standalone View
Standalone View
kioslave/kamera.cpp
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | |||||
79 | #endif | 79 | #endif | ||
80 | static void frontendProgressUpdate( | 80 | static void frontendProgressUpdate( | ||
81 | GPContext *context, unsigned int id, float current, void *data | 81 | GPContext *context, unsigned int id, float current, void *data | ||
82 | ); | 82 | ); | ||
83 | } | 83 | } | ||
84 | 84 | | |||
85 | int kdemain(int argc, char **argv) | 85 | int kdemain(int argc, char **argv) | ||
86 | { | 86 | { | ||
87 | QCoreApplication app; | ||||
88 | | ||||
87 | QCoreApplication::setApplicationName("kio_kamera"); | 89 | QCoreApplication::setApplicationName("kio_kamera"); | ||
88 | KLocalizedString::setApplicationDomain("kio_kamera"); | 90 | KLocalizedString::setApplicationDomain("kio_kamera"); | ||
89 | 91 | | |||
90 | #ifdef DEBUG_KAMERA_KIO | 92 | #ifdef DEBUG_KAMERA_KIO | ||
91 | QLoggingCategory::setFilterRules(QStringLiteral("kamera.kio.debug = true")); | 93 | QLoggingCategory::setFilterRules(QStringLiteral("kamera.kio.debug = true")); | ||
92 | #endif | 94 | #endif | ||
93 | 95 | | |||
94 | if(argc != 4) { | 96 | if(argc != 4) { | ||
▲ Show 20 Lines • Show All 1102 Lines • Show Last 20 Lines |