[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [declarative-plasmoids] tasks: print errors of componetn
From:       Shaun Reich <shaun.reich () kdemail ! net>
Date:       2012-02-10 17:13:35
Message-ID: 20120210171335.24F9CA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 70bb9a66fd037112085176b70130cf72e3bc745e by Shaun Reich.
Committed on 10/02/2012 at 18:13.
Pushed by sreich into branch 'master'.

print errors of componetn

M  +3    -0    tasks/tasks.cpp

http://commits.kde.org/declarative-plasmoids/70bb9a66fd037112085176b70130cf72e3bc745e

diff --git a/tasks/tasks.cpp b/tasks/tasks.cpp
index 016d96f..451d2c8 100644
--- a/tasks/tasks.cpp
+++ b/tasks/tasks.cpp
@@ -39,7 +39,10 @@ Tasks::Tasks(QObject *parent, const QVariantList &args)
     setHasConfigurationInterface(false);
 
     QDeclarativeEngine *engine = new QDeclarativeEngine;
+
     QDeclarativeComponent component(engine, QUrl::fromLocalFile("qml/package/contents/ui/main.qml"));
+    kDebug() << "TASKS COMPONENT ERRORS: " << component.errors();
+
     QGraphicsObject *object = qobject_cast<QGraphicsObject *>(component.create());
     containment()->corona()->addItem(object);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic