Commit 0fb836a6 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Make it possible to use FileNameRequester as buddy of a label

Inherit the focus policy from the line edit and set it as focus proxy.

GnuPG-bug-id: 5544
parent b3bb0ce3
......@@ -77,6 +77,8 @@ FileNameRequester::Private::Private(FileNameRequester *qq)
hlay.setContentsMargins(0, 0, 0, 0);
connect(&button, &QToolButton::clicked, q, [this]() { slotButtonClicked(); });
connect(&lineedit, &KLineEdit::textChanged, q, &FileNameRequester::fileNameChanged);
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