Commit ebca5a01 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Fix Windows mis-aligned content bug in what is interesting QML view

parent ac956f9e
......@@ -141,6 +141,13 @@ WIView::WIView(QWidget *parent) : QWidget(parent), m_CurrentObjectListName(-1)
m_BaseView->setResizeMode(QQuickView::SizeRootObjectToView);
m_BaseView->show();
// Fix some weird issue with what's interesting panel view under Windows
// In Qt 5.9 it content is messed up and there is no way to close the panel
#ifdef Q_OS_WIN
m_BaseView->setFlags(Qt::WindowCloseButtonHint);
#endif
connect(KStars::Instance()->map(), SIGNAL(objectClicked(SkyObject *)), this,
SLOT(inspectSkyObjectOnClick(SkyObject *)));
......
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