mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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 pressed_;
|
||||||
bool started_;
|
bool started_;
|
||||||
public:
|
public:
|
||||||
KeyChecker() {
|
KeyChecker() : pressed_(false), started_(false) {}
|
||||||
pressed_ = false;
|
|
||||||
}
|
|
||||||
void start() {
|
void start() {
|
||||||
QCoreApplication::instance()->installEventFilter(this);
|
QCoreApplication::instance()->installEventFilter(this);
|
||||||
pressed_ = false;
|
pressed_ = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user