|
a/src/qtgui/crontool.cpp |
|
b/src/qtgui/crontool.cpp |
|
... |
|
... |
86 |
|
86 |
|
87 |
if (!enable) {
|
87 |
if (!enable) {
|
88 |
editCrontab(marker, id, "", "", reason);
|
88 |
editCrontab(marker, id, "", "", reason);
|
89 |
accept();
|
89 |
accept();
|
90 |
} else {
|
90 |
} else {
|
91 |
string mins(qs2utf8s(minsLE->text()));
|
91 |
string mins(qs2utf8s(minsLE->text().remove(QChar(' '))));
|
92 |
string hours(qs2utf8s(hoursLE->text()));
|
92 |
string hours(qs2utf8s(hoursLE->text().remove(QChar(' '))));
|
93 |
string days(qs2utf8s(daysLE->text()));
|
93 |
string days(qs2utf8s(daysLE->text().remove(QChar(' '))));
|
94 |
string sched = mins + " " + hours + " * * " + days;
|
94 |
string sched = mins + " " + hours + " * * " + days;
|
95 |
if (editCrontab(marker, id, sched, cmd, reason)) {
|
95 |
if (editCrontab(marker, id, sched, cmd, reason)) {
|
96 |
accept();
|
96 |
accept();
|
97 |
} else {
|
97 |
} else {
|
98 |
QMessageBox::warning(0, "Recoll",
|
98 |
QMessageBox::warning(0, "Recoll",
|