Commit 0faf7ab9 authored by hjk's avatar hjk Committed by Christian Kamm

QmlJSCodeStyleSettingsPage: compile fix

Was not compilable with namespaced Qt

Change-Id: Ieab68bb67e6421afbc4e07417c0196d419697f70
Reviewed-on: http://codereview.qt.nokia.com/100Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
parent 934a8238
......@@ -28,7 +28,7 @@ namespace Internal {
QmlJSCodeStylePreferencesWidget::QmlJSCodeStylePreferencesWidget(QWidget *parent) :
QWidget(parent),
m_tabPreferences(0),
m_ui(new ::Ui::QmlJSCodeStyleSettingsPage)
m_ui(new Ui::QmlJSCodeStyleSettingsPage)
{
m_ui->setupUi(this);
......
......@@ -6,9 +6,6 @@
#include <QtCore/QPointer>
QT_BEGIN_NAMESPACE
namespace Ui {
class QmlJSCodeStyleSettingsPage;
}
class QSettings;
QT_END_NAMESPACE
......@@ -21,6 +18,10 @@ namespace TextEditor {
namespace QmlJSTools {
namespace Internal {
namespace Ui {
class QmlJSCodeStyleSettingsPage;
}
class QmlJSCodeStylePreferencesWidget : public QWidget
{
Q_OBJECT
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QmlJSCodeStyleSettingsPage</class>
<class>QmlJSTools::Internal::QmlJSCodeStyleSettingsPage</class>
<widget class="QWidget" name="QmlJSCodeStyleSettingsPage">
<property name="geometry">
<rect>
......
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