diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-10-25 12:37:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-05 09:16:41 +0100 |
commit | 142c5ef9ddd17e59d8d096ab065aee8cb50f5e8f (patch) | |
tree | 99df987fd2b259287d109f7f841c3943e0626130 /src/widgets/widgets/qlineedit_p.h | |
parent | e9c51a1fdc9092e5589fd6f823ad0e704e293c88 (diff) |
QLineEdit: Fix potential crash when removing the clear button.
Remove it from the side actions list.
Task-number: QTBUG-34315
Change-Id: I70063351193b504f8656e903896d155ac74f73a6
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets/widgets/qlineedit_p.h')
-rw-r--r-- | src/widgets/widgets/qlineedit_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qlineedit_p.h b/src/widgets/widgets/qlineedit_p.h index 8fe45972ff..e807c7fc52 100644 --- a/src/widgets/widgets/qlineedit_p.h +++ b/src/widgets/widgets/qlineedit_p.h @@ -196,7 +196,7 @@ public: QString placeholderText; QWidget *addAction(QAction *newAction, QAction *before, QLineEdit::ActionPosition, int flags = 0); - void removeAction(const QActionEvent *e); + void removeAction(QAction *action); QSize iconSize() const; QIcon clearButtonIcon() const; void positionSideWidgets(); |