mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-09-20 04:12:15 +02:00
fix compilation of TagsEdit.cpp
qOverload appeared with qt5.7 Reported error: keepassxc-2.7.0-src/src/gui/tag/TagsEdit.cpp:414:34: error: use of undeclared identifier 'qOverload' connect(completer.get(), qOverload<QString const&>(&QCompleter::activated), [this](QString const& text) { ^
This commit is contained in:
parent
4178e72fe0
commit
c33995e075
@ -411,7 +411,7 @@ struct TagsEdit::Impl
|
|||||||
void setupCompleter()
|
void setupCompleter()
|
||||||
{
|
{
|
||||||
completer->setWidget(ifce);
|
completer->setWidget(ifce);
|
||||||
connect(completer.get(), qOverload<QString const&>(&QCompleter::activated), [this](QString const& text) {
|
connect(completer.get(), static_cast<void (QCompleter::*)(QString const&)>(&QCompleter::activated), [this](QString const& text) {
|
||||||
currentText(text);
|
currentText(text);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user