Commit 77959c8b authored by Norwegian Rock Cat's avatar Norwegian Rock Cat
Browse files

Only call setVisible on this item after it has been put in a layout

If you call setVisible(true) on the item before it is placed in a
hierarchy, it will show as a normal top-level window. On some platforms
this isn't really an issue, but with Carbon, the show happens
immediately, so you get this flash of a window which is really
disturbing. I'm surprised it's not noticed on other platforms.
Personally, I'm not sure why we call this at all, but I'm leaving it for
the moment.
parent 6bb6f516
......@@ -302,9 +302,9 @@ bool MainWindow::init(QString *errorMessage)
OutputPanePlaceHolder *oph = new OutputPanePlaceHolder(m_outputMode);
outputModeWidget->layout()->addWidget(new Core::FindToolBarPlaceHolder(m_outputMode));
Supports Markdown
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