Commit 24a76a73 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

fix warnings


Reviewed-by: Marco Bubke
parent 35fe835d
......@@ -80,14 +80,14 @@ static inline QString deEscape(const QString &value)
static inline int fixUpMajorVersionForQtQuick(const QString &value, int i)
{
if (i = 1 && value == "QtQuick")
if (i == 1 && value == "QtQuick")
return 4;
else return i;
}
static inline int fixUpMinorVersionForQtQuick(const QString &value, int i)
{
if (i = 0 && value == "QtQuick")
if (i == 0 && value == "QtQuick")
return 7;
else return i;
}
......
......@@ -214,7 +214,7 @@ void QuickToolBar::apply(TextEditor::BaseTextEditorEditable *editor, Document::P
}
bool QuickToolBar::isAvailable(TextEditor::BaseTextEditorEditable *editor, Document::Ptr document, AST::Node *node)
bool QuickToolBar::isAvailable(TextEditor::BaseTextEditorEditable *, Document::Ptr document, AST::Node *node)
{
if (document.isNull())
return false;
......
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