MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / closeEvent

Method closeEvent

src/Qt/PlayerDemo.cpp:59–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void PlayerDemo::closeEvent(QCloseEvent *event)
60{
61 // Close window, stop player, and quit
62 QWidget *pWin = QApplication::activeWindow();
63 pWin->hide();
64 player->Stop();
65 QApplication::quit();
66}
67
68void PlayerDemo::keyPressEvent(QKeyEvent *event)
69{

Callers

nothing calls this directly

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected