forked from qt-creator/qt-creator
QmlPreview: Fix layout warnings
Fixes the "QLayout: Attempting to add QLayout "" to QmlProfiler::Internal::Quick3DFrameView "QmlProfiler.Quick3DFrame.Dock", which already has a layout" warnings. It appeared twice when starting the QML Profiler for Android app on emulator. Change-Id: I6f26be9a3e2f032a6ac2300fb31ca8e58a598d1b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -54,13 +54,13 @@ Quick3DFrameView::Quick3DFrameView(QmlProfilerModelManager *profilerModelManager
|
||||
connect(m_compareFrameView.get(), &Quick3DMainView::gotoSourceLocation,
|
||||
this, &Quick3DFrameView::gotoSourceLocation);
|
||||
|
||||
auto groupLayout = new QVBoxLayout(this);
|
||||
auto groupLayout = new QVBoxLayout;
|
||||
groupLayout->setContentsMargins(0,0,0,0);
|
||||
groupLayout->setSpacing(0);
|
||||
auto hMainLayout = new QHBoxLayout(this);
|
||||
auto hMainLayout = new QHBoxLayout;
|
||||
hMainLayout->setContentsMargins(0,0,0,0);
|
||||
hMainLayout->setSpacing(0);
|
||||
auto hFrameLayout = new QHBoxLayout(this);
|
||||
auto hFrameLayout = new QHBoxLayout;
|
||||
hFrameLayout->setContentsMargins(0,0,0,0);
|
||||
hFrameLayout->setSpacing(0);
|
||||
auto view3DComboBox = new QComboBox(this);
|
||||
|
Reference in New Issue
Block a user