Commit ec23d8e4 authored by Boudewijn Rempt's avatar Boudewijn Rempt

tool window is better, that doesn't show up in the taskbar

parent da4ba67c
......@@ -106,12 +106,12 @@ public:
m_splash->hide();
}
else {
m_splash->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
m_splash->setWindowFlags(Qt::Tool | Qt::FramelessWindowHint);
m_splash->setWindowModality(Qt::ApplicationModal);
m_splash->setParent(qApp->activeWindow());
QRect r(QPoint(), m_splash->size());
m_splash->move(QApplication::desktop()->screenGeometry().center() - r.center());
m_splash->setWindowTitle(qAppName());
foreach(QObject *o, m_splash->children()) {
QWidget *w = qobject_cast<QWidget*>(o);
if (w && w->isHidden()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment