Window flags not working on QDialog
Unsolved
General and Desktop
-
I am trying to do this with a QDialog:
dialog->setWindowFlags(dialog->windowFlags() | Qt::WindowCloseButtonHint);
but on Centos7 , the QDialog does not appear with a close button on the top right. What am i missing? -
Hi,
Maybe a silly question but do you have other dialogs that have a close button ? That could likely be related to your Window Manager.
What are you running ?