Good day,
I have an application running in fullscreen mode. This application displays errors on a separate dialog, but hen the dialog is displayed the OS (it only runs on linux) menu bars are displayed.
Is there a way to avoid this situation?

To display dialogs I use:
Qt Code:
  1. void ErrorWindow::notifyError(const QString &msg)
  2. {
  3.  
  4. if (errWind.isNull()) //All errors are displayed on a single message box as long as the message box exists.
  5. {
  6. errWind= new QMessageBox;
  7. errWind->resize(500, 200);
  8. errWind->setModal(false);
  9. errWind->setText("Errors have been found. Press show details to review the error list ");
  10. connect(errWind.data(),SIGNAL(buttonClicked(QAbstractButton*)),this,SLOT(clearErrors(QAbstractButton*)));
  11. }
  12. QString errtxt;
  13. if(messages<100)
  14. {
  15. errtxt = errWind->detailedText();
  16. messages++;
  17. }
  18. else
  19. {
  20. errtxt = "";
  21. messages=1;
  22. }
  23. errtxt.prepend(QString("%1:%2\n").arg(QDateTime::currentDateTime().toString(DATETIME_FORMAT)).arg(msg));
  24. errWind->setDetailedText(errtxt);
  25. errWind->show();
  26. }
To copy to clipboard, switch view to plain text mode 

Thanks in advance.