Commit a146b5b3 authored by Raymond Wooninck's avatar Raymond Wooninck

Convert some remaining kWarning/kDebug

parent f7d1dd93
...@@ -148,7 +148,7 @@ static QPoint calculateXYPosition( QTextDocument *document, int startPosition ) ...@@ -148,7 +148,7 @@ static QPoint calculateXYPosition( QTextDocument *document, int startPosition )
QTextLayout *startLayout = startBlock.layout(); QTextLayout *startLayout = startBlock.layout();
if (!startLayout) { if (!startLayout) {
kWarning() << "Start layout not found" << startLayout; qWarning() << "Start layout not found" << startLayout;
return QPoint(); return QPoint();
} }
...@@ -412,7 +412,7 @@ QTextDocument* Converter::convert( const QString &fileName ) ...@@ -412,7 +412,7 @@ QTextDocument* Converter::convert( const QString &fileName )
QString::fromUtf8(label), QString::fromUtf8(label),
block); block);
} else { } else {
kDebug() << "Error: no block found for"<< link; qDebug() << "Error: no block found for"<< link;
} }
if (clink) if (clink)
...@@ -424,7 +424,7 @@ QTextDocument* Converter::convert( const QString &fileName ) ...@@ -424,7 +424,7 @@ QTextDocument* Converter::convert( const QString &fileName )
epub_free_titerator(tit); epub_free_titerator(tit);
} else { } else {
kDebug() << "no toc found"; qDebug() << "no toc found";
} }
// adding link actions // adding link actions
...@@ -443,7 +443,7 @@ QTextDocument* Converter::convert( const QString &fileName ) ...@@ -443,7 +443,7 @@ QTextDocument* Converter::convert( const QString &fileName )
emit addAction(action, hit.value()[i].first, hit.value()[i].second); emit addAction(action, hit.value()[i].first, hit.value()[i].second);
} else { } else {
kDebug() << "Error: no block found for "<< hit.key(); qDebug() << "Error: no block found for "<< hit.key();
} }
} }
} }
......
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