From: APTX Date: Sat, 13 Apr 2013 14:54:39 +0000 (+0200) Subject: Pesky newlines X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=a5b57dfbb93a8094dafea73b941f5fa29f1dcfca;p=localmylist.git Pesky newlines --- diff --git a/play-next/main.cpp b/play-next/main.cpp index 99efcd7..abbd241 100644 --- a/play-next/main.cpp +++ b/play-next/main.cpp @@ -17,14 +17,14 @@ int main(int argc, char *argv[]) QTextStream cout(stdout); if (a.arguments().count() < 2) { - cout << "Usage: " << a.arguments()[0] << " TITLE"; + cout << "Usage: " << a.arguments()[0] << " TITLE" << endl; return 1; } LocalMyList::instance()->loadLocalSettings(); if (!LocalMyList::instance()->database()->connect()) { - cout << "Could not connect to database."; + cout << "Could not connect to database." << endl; return 1; } @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) if (!data.fid) { - cout << "No file to watch."; + cout << "No file to watch." << endl; return 1; }