Commit 165f173f authored by Boudewijn Rempt's avatar Boudewijn Rempt

debug--

parent 5de38079
......@@ -122,9 +122,8 @@ struct SvgParser::DeferredUseStore {
~DeferredUseStore() {
while (!m_uses.empty()) {
const El& el = m_uses.back();
qDebug()
<< "WARNING: could not find path in <use xlink:href=\"#xxxxx\" expression. Losing data here. Key:"
<< el.m_key;
debugFlake << "WARNING: could not find path in <use xlink:href=\"#xxxxx\" expression. Losing data here. Key:"
<< el.m_key;
m_uses.pop_back();
}
}
......@@ -679,7 +678,7 @@ bool SvgParser::parseSymbol(const KoXmlElement &e)
if (title.isEmpty()) svgSymbol->title = id;
if (svgSymbol->shape->boundingRect() == QRectF(0.0, 0.0, 0.0, 0.0)) {
warnFlake << "Symbol" << id << "seems to be empty, discarding";
debugFlake << "Symbol" << id << "seems to be empty, discarding";
delete svgSymbol;
return false;
}
......
......@@ -92,7 +92,6 @@ static QObject *provideKritaRssModelObject(QQmlEngine *engine, QJSEngine *script
void KritaSketchPlugin::registerTypes(const char* uri)
{
qDebug() << "registerTypes();" << uri;
Q_UNUSED(uri)
Q_ASSERT(uri == QLatin1String("org.krita.sketch"));
qmlRegisterType<SimpleTouchArea>("org.krita.sketch", 1, 0, "SimpleTouchArea");
......@@ -126,8 +125,6 @@ void KritaSketchPlugin::registerTypes(const char* uri)
void KritaSketchPlugin::initializeEngine(QQmlEngine* engine, const char* uri)
{
qDebug() << "initializeEngine();" << uri;
Q_UNUSED(uri)
Q_ASSERT(uri == QLatin1String("org.krita.sketch"));
......
......@@ -250,7 +250,7 @@ QList<QString> KisActionRegistry::registeredShortcutIds() const
bool KisActionRegistry::propertizeAction(const QString &name, QAction * a)
{
if (!d->actionInfoList.contains(name)) {
qWarning() << "No XML data found for action" << name;
warnAction << "No XML data found for action" << name;
return false;
}
......
......@@ -34,7 +34,7 @@ class HelloExtension(Extension):
"""
This is where most of the setup takes place!
"""
qDebug("Hello Setup")
#qDebug("Hello Setup")
action = Krita.instance().createAction("hello_python", "hello")
action.triggered.connect(hello)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment