This commit is contained in:
Nav
2021-12-19 18:30:51 +00:00
parent a923c18403
commit 7aee91c5ff
3 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ using namespace Bloom::Widgets;
TextInput::TextInput(QWidget* parent): QLineEdit(parent) {}
void TextInput::contextMenuEvent(QContextMenuEvent* event) {
if (QMenu *menu = createStandardContextMenu()) {
if (QMenu* menu = this->createStandardContextMenu()) {
menu->setAttribute(Qt::WA_DeleteOnClose);
// Remove default icons