diff options
Diffstat (limited to 'afdnotebook.cc')
-rw-r--r-- | afdnotebook.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/afdnotebook.cc b/afdnotebook.cc index 913986e..58ae359 100644 --- a/afdnotebook.cc +++ b/afdnotebook.cc @@ -320,12 +320,12 @@ bool AfdNotebook::parseGfx(const QString &file) if (!r.atEnd()) { QXmlStreamAttributes attrs = r.attributes(); QString imageSrc = attrs.value("src").toString(); - qDebug() << "image src" << imageSrc; + qDebug() << " image src" << imageSrc; int lastSlash = imageSrc.lastIndexOf('/'); int lastDot = imageSrc.lastIndexOf('.'); if (lastSlash >= 0 && lastDot > lastSlash) { gfx.basename = imageSrc.mid(lastSlash + 1, lastDot - lastSlash - 1); - qDebug() << "Got gfx" << gfx.basename; + qDebug() << " gfx" << gfx.basename; } } @@ -368,8 +368,8 @@ bool AfdNotebook::findPenData() stroke.file = penDir.filePath(strokeFile); bool ok = true; - if (ok) stroke.begin = Smartpen::fromPenTime(strokeFile.mid(2, 8).toLongLong(&ok, 16) * 1000ULL); - if (ok) stroke.end = Smartpen::fromPenTime(strokeFile.mid(13, 8).toLongLong(&ok, 16) * 1000ULL); + if (ok) stroke.begin = strokeFile.mid(2, 8).toLongLong(&ok, 16) * 1000ULL; + if (ok) stroke.end = strokeFile.mid(13, 8).toLongLong(&ok, 16) * 1000ULL; if (!ok) { qWarning() << "Invalid stroke filename format" << strokeFile; |