Merge pull request #45 from Z-bin/fixDisplay-dev
Release the resources requested by XOpenDisplay
This commit is contained in:
commit
ed28813e0d
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue