Commit e2fb40c7 authored by Friedemann Kleint's avatar Friedemann Kleint

Fixes: Compiler warnings

parent 05c35356
......@@ -48,11 +48,11 @@ CMakeProjectPlugin::~CMakeProjectPlugin()
{
}
bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *error_message)
bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *errorMessage)
{
Core::ICore *core = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>();
QString errorMessage;
core->mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProject.mimetypes.xml"), &errorMessage);
if (!core->mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProject.mimetypes.xml"), errorMessage))
return false;
addAutoReleasedObject(new CMakeManager());
return true;
}
......
......@@ -92,7 +92,7 @@ BuildStepsPage::~BuildStepsPage()
delete m_ui;
}
void BuildStepsPage::displayNameChanged(BuildStep *bs, const QString &displayName)
void BuildStepsPage::displayNameChanged(BuildStep *bs, const QString & /* displayName */)
{
int index = m_pro->buildSteps().indexOf(bs);
m_ui->buildSettingsList->invisibleRootItem()->child(index)->setText(0, bs->displayName());
......
......@@ -118,6 +118,8 @@ void RunControl::bringApplicationToForeground(qint64 pid)
m_internalPid = pid;
m_foregroundCount = 0;
bringApplicationToForegroundInternal();
#else
Q_UNUSED(pid)
#endif
}
......
......@@ -133,7 +133,7 @@ bool Format::equals(const Format &f) const
m_bold == f.m_bold && m_italic == f.m_italic;
}
// -- FontSettings
FontSettings::FontSettings(const FormatDescriptions &fd) :
FontSettings::FontSettings(const FormatDescriptions & /* fd */) :
m_family(defaultFixedFontFamily()),
m_fontSize(DEFAULT_FONT_SIZE)
{
......
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