Commit 4f5ce66d authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Compilation: Fix MSVC warnings in the Designer plugin.

parent 8e14a3d4
......@@ -37,7 +37,7 @@
namespace Designer {
namespace Internal {
struct FormClassWizardParameters;
class FormClassWizardParameters;
class FormClassWizard : public Core::BaseFileWizard
{
......
......@@ -32,8 +32,6 @@
#include "formclasswizardpage.h"
#include "formclasswizardparameters.h"
#include <coreplugin/icore.h>
#include <QtCore/QDebug>
#include <QtGui/QAbstractButton>
......
......@@ -32,13 +32,9 @@
#include <QtGui/QWizard>
namespace Core {
class ICore;
}
namespace Designer {
struct FormClassWizardParameters;
class FormClassWizardParameters;
namespace Internal {
......
......@@ -37,7 +37,6 @@
#include <cpptools/cpptoolsconstants.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QSettings>
#include <QtGui/QAbstractButton>
......@@ -146,7 +145,7 @@ bool FormClassWizardPage::validatePage()
QString errorMessage;
const bool rc = m_ui->newClassWidget->isValid(&errorMessage);
if (!rc) {
QMessageBox::critical(this, tr("%1 - Error").arg(title()), errorMessage);
QMessageBox::warning(this, tr("%1 - Error").arg(title()), errorMessage);
}
return rc;
}
......
......@@ -34,8 +34,8 @@
namespace Designer {
struct FormClassWizardParameters;
struct FormClassWizardGenerationParameters;
class FormClassWizardParameters;
class FormClassWizardGenerationParameters;
namespace Internal {
......
......@@ -32,7 +32,6 @@
#include "formwindoweditor.h"
#include "designerconstants.h"
#include <QtCore/QFile>
#include <QtCore/QDebug>
using namespace Designer;
......
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