Commit 0756a5b9 authored by Langella Olivier's avatar Langella Olivier
Browse files

fix endline compilation warnings

parent a4a843ac
......@@ -85,16 +85,18 @@ main(int argc, char *argv[])
}
catch(pappso::PappsoException &error)
{
errorStream << "Oops! an error occurred in XTPcpp. Don't panic :" << endl;
errorStream << error.qwhat() << endl;
errorStream << "Oops! an error occurred in XTPcpp. Don't panic :"
<< Qt::endl;
errorStream << error.qwhat() << Qt::endl;
QMessageBox::warning(app.activeWindow(), "Error !!", error.qwhat());
app.exit(1);
}
catch(std::exception &error)
{
errorStream << "Oops! an error occurred in XTPcpp. Don't panic :" << endl;
errorStream << error.what() << endl;
errorStream << "Oops! an error occurred in XTPcpp. Don't panic :"
<< Qt::endl;
errorStream << error.what() << Qt::endl;
QMessageBox::warning(app.activeWindow(), "Error !!", error.what());
app.exit(1);
}
......
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