Commit fc678bca authored by David Jarvie's avatar David Jarvie
Browse files

Output terminal error message if command line 'new alarm' action fails

parent 4841d78a
Pipeline #51572 passed with stage
in 15 minutes and 5 seconds
......@@ -1048,13 +1048,11 @@ void KAlarmApp::processQueue()
qCWarning(KALARM_LOG) << "KAlarmApp::processQueue: Error! Cannot create alarm (no default calendar is defined)";
#if 0
if (commandLine)
const QString errmsg = xi18nc("@info:shell", "Cannot create alarm: No default calendar is defined");
std::cerr << errmsg.toLocal8Bit().data() << std::endl;
ok = false;
Supports Markdown
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