diff --git a/src/main.cpp b/src/main.cpp index e4706115..5ec2087b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -47,6 +47,9 @@ int main(int argc, char *argv[]) QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif } + if (NULL != disp) { + XCloseDisplay(disp); + } QApplication a(argc, argv);