Commit 13be8b45 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix mem leak found by asan

parent 2b68a5b8
......@@ -84,7 +84,7 @@ QValidator::State ZoomValidator::validate(QString &input, int &pos) const
ZoomComboBoxPrivate::ZoomComboBoxPrivate(ZoomComboBox *q)
: q_ptr(q)
, validator(new ZoomValidator(0, 0, q, this))
, validator(new ZoomValidator(0, 0, q, this, q))
{
}
......
Markdown is supported
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