Commit fde4ccaf authored by Laurent Montel's avatar Laurent Montel 😁

Remove endl at the end of qDebug

parent 06300f8f
......@@ -963,7 +963,7 @@ QImage KImageMapEditor::getBackgroundImage() {
if ( ! QFileInfo(path).exists() ) {
qCCritical(KIMAGEMAPEDITOR_LOG) << "Couldn't find needed " << filename << " file in "
"the data directory of KImageMapEditor.\n"
"Perhaps you have forgotten to do a make install !" << endl;
"Perhaps you have forgotten to do a make install !";
exit(1);
}
*/
......@@ -1440,10 +1440,10 @@ void KImageMapEditor::setPicture(const QUrl & url) {
imageUsemapAction->setEnabled(true);
}
else
qCCritical(KIMAGEMAPEDITOR_LOG) << QString("The image %1 could not be opened.").arg(url.path()) << endl;
qCCritical(KIMAGEMAPEDITOR_LOG) << QString("The image %1 could not be opened.").arg(url.path());
}
else
qCCritical(KIMAGEMAPEDITOR_LOG) << QString("The image %1 does not exist.").arg(url.path()) << endl;
qCCritical(KIMAGEMAPEDITOR_LOG) << QString("The image %1 does not exist.").arg(url.path());
}
void KImageMapEditor::setPicture(const QImage & pix) {
......
......@@ -549,7 +549,7 @@ QPixmap Area::cutOut(const QImage & image)
// partOfMask = partOfMask.normalize();
if (!partOfMask.isValid())
qCDebug(KIMAGEMAPEDITOR_LOG) << "PartofMask not valid : " << partOfMask.x() << "," << partOfMask.y() << ","
<< partOfMask.width() << "," << partOfMask.height() << "," << endl;
<< partOfMask.width() << "," << partOfMask.height() << ",";
/*
QBitmap mask2(partOfMask.width(), partOfMask.height());
......
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