mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
Close the MsgBox when clicking the OK button.
This feels vaguely crashy. I haven't tested window/widget destruction before so there's sure to be bugs.
This commit is contained in:
parent
3ebea05996
commit
959a1b0750
9 changed files with 65 additions and 9 deletions
|
@ -24,12 +24,14 @@ public:
|
|||
void stopTimer();
|
||||
bool hasTimer() const { return m_timerID; }
|
||||
|
||||
private:
|
||||
virtual void timerEvent(TimerEvent&);
|
||||
|
||||
void addChild(Object&);
|
||||
void removeChild(Object&);
|
||||
|
||||
void deleteLater();
|
||||
|
||||
private:
|
||||
virtual void timerEvent(TimerEvent&);
|
||||
|
||||
Object* m_parent { nullptr };
|
||||
|
||||
int m_timerID { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue