kopia lustrzana https://gitlab.com/eliggett/wfview
use quit() instead of exit() to cleanly shutdown
rodzic
75f1f2d6ea
commit
7098564121
|
@ -19,7 +19,7 @@ void keyboard::run()
|
||||||
{
|
{
|
||||||
char key = getchar();
|
char key = getchar();
|
||||||
if (key == 'q') {
|
if (key == 'q') {
|
||||||
QCoreApplication::exit(0);
|
QCoreApplication::quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Ładowanie…
Reference in New Issue