Commit 312f6d0f authored by Christian Kamm's avatar Christian Kamm Committed by hjk

C++ style settings: Compile fix for namespaced Qt.

Change-Id: I89db5239576385823315443474669f5fd9ef69b4
Reviewed-on: http://codereview.qt.nokia.com/87Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
parent 3cf53793
......@@ -179,7 +179,7 @@ CppCodeStylePreferencesWidget::CppCodeStylePreferencesWidget(QWidget *parent)
: QWidget(parent),
m_tabPreferences(0),
m_cppCodeStylePreferences(0),
m_ui(new ::Ui::CppCodeStyleSettingsPage)
m_ui(new Ui::CppCodeStyleSettingsPage)
{
m_ui->setupUi(this);
......
......@@ -13,12 +13,6 @@
#include "cppcodestylesettings.h"
#include "cppcodeformatter.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class CppCodeStyleSettingsPage;
}
QT_END_NAMESPACE
namespace TextEditor {
class FontSettings;
class TabSettings;
......@@ -33,6 +27,10 @@ class CppCodeStylePreferences;
namespace Internal {
namespace Ui {
class CppCodeStyleSettingsPage;
}
class CppCodeStylePreferencesWidget : public QWidget
{
Q_OBJECT
......
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CppCodeStyleSettingsPage</class>
<widget class="QWidget" name="CppCodeStyleSettingsPage">
<class>CppTools::Internal::CppCodeStyleSettingsPage</class>
<widget class="QWidget" name="CppTools::Internal::CppCodeStyleSettingsPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>759</width>
<height>467</height>
<width>757</width>
<height>465</height>
</rect>
</property>
<property name="windowTitle">
......
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