mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Correctly initialize a member variable
This has be diagnosed by valgrind, I do not know how important it is.
This commit is contained in:
parent
7a7b9abf1b
commit
740c83637d
@ -691,9 +691,8 @@ private:
|
||||
bool pressed_;
|
||||
bool started_;
|
||||
public:
|
||||
KeyChecker() {
|
||||
pressed_ = false;
|
||||
}
|
||||
KeyChecker() : pressed_(false), started_(false) {}
|
||||
|
||||
void start() {
|
||||
QCoreApplication::instance()->installEventFilter(this);
|
||||
pressed_ = false;
|
||||
|
Loading…
Reference in New Issue
Block a user