Commit 3fb241c8 authored by Lasse Holmstedt's avatar Lasse Holmstedt

Fixed compilation due to fancylineedit change

parent ba17fb20
......@@ -73,8 +73,9 @@ ExpressionQueryWidget::ExpressionQueryWidget(Mode mode, QDeclarativeEngineDebug
m_highlighter->setParent(m_textEdit->document());
if (m_mode == SeparateEntryMode) {
m_lineEdit = new Utils::FancyLineEdit;
m_lineEdit->setHintText(tr("<Expression>"));
m_lineEdit = new QLineEdit;
m_lineEdit->setPlaceholderText(tr("<Expression>"));
connect(m_lineEdit, SIGNAL(returnPressed()), SLOT(executeExpression()));
QHBoxLayout *hbox = new QHBoxLayout;
hbox->setMargin(1);
......
......@@ -41,9 +41,6 @@ class QPlainTextEdit;
class QLineEdit;
class QPushButton;
namespace Utils {
class FancyLineEdit;
}
namespace Core {
class IContext;
}
......@@ -90,7 +87,7 @@ private:
QDeclarativeEngineDebug *m_client;
QDeclarativeDebugExpressionQuery *m_query;
QPlainTextEdit *m_textEdit;
Utils::FancyLineEdit *m_lineEdit;
QLineEdit *m_lineEdit;
QPushButton *m_button;
QString m_prompt;
QString m_expr;
......
......@@ -106,7 +106,7 @@ bool QmlInspectorPlugin::initialize(const QStringList &arguments, QString *error
m_inspector = new QmlInspector;
addObject(m_inspector);
Core::ICore::instance()->addContextObject(m_inspector->context());
core->addContextObject(m_inspector->context());
connect(m_connectionTimer, SIGNAL(timeout()), SLOT(pollInspector()));
......
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