Commit 5a3ebb42 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

TodoViewQuickAddLine: fix adding a todo using the quick add line

This should be connected to the returnPressed signal that takes no args, so
the QLineEdit one.

Apparently things broke because the signal is overriden in
TodoViewQuickAddLine, overriding siganls is always a hassle.

Found while using KOrganizer.
parent 0c79d268
Pipeline #174790 passed with stage
in 3 minutes and 18 seconds
......@@ -15,7 +15,7 @@
TodoViewQuickAddLine::TodoViewQuickAddLine(QWidget *parent)
: KLineEdit(parent)
connect(this, &TodoViewQuickAddLine::returnPressed, this, &TodoViewQuickAddLine::returnPressedSlot);
connect(this, &QLineEdit::returnPressed, this, &TodoViewQuickAddLine::returnPressedSlot);
mClickMessage = i18n("Enter a summary to create a new to-do");
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