mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-12 07:06:07 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue