mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kioslave: create application instance from the main function of camera slave
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a79eb8a60b
commit
94c7aaeda0
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
|
|
||||||
#include <qfile.h>
|
#include <qfile.h>
|
||||||
#include <qtextstream.h>
|
#include <qtextstream.h>
|
||||||
|
#include <qcoreapplication.h>
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <kcomponentdata.h>
|
#include <kcomponentdata.h>
|
||||||
|
@ -64,6 +65,7 @@ extern "C"
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
QCoreApplication app(argc, argv);
|
||||||
KComponentData componentData("kio_kamera");
|
KComponentData componentData("kio_kamera");
|
||||||
|
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue