Commit 4f70fc58 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fix for webview

Handle different packages
parent 073feb6e
......@@ -883,6 +883,8 @@ void PropertyEditor::reloadQml()
QString PropertyEditor::qmlFileName(const NodeMetaInfo &nodeInfo) const
{
if (nodeInfo.typeName().split('/').last() == "QDeclarativeItem")
return "Qt/ItemPane.qml";
return nodeInfo.typeName() + QLatin1String("Pane.qml");
}
......
......@@ -35,6 +35,7 @@
#include <QHash>
#include <QDeclarativePropertyMap>
#include <QStackedWidget>
#include <QTimer>
#include "qmlanchorbindingproxy.h"
#include "designerpropertymap.h"
......@@ -44,6 +45,7 @@
QT_BEGIN_NAMESPACE
class QShortcut;
class QStackedWidget;
class QTimer;
QT_END_NAMESPACE
class PropertyEditorValue;
......@@ -141,6 +143,7 @@ private: //variables
NodeType *m_currentType;
bool m_locked;
bool m_setupCompleted;
QTimer *m_singleShotTimer;
};
......
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