Commit 6c0a018a authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmlEditorWidgets: Pass QVariant as const reference

Change-Id: Ib59cb25ffed6acc4f1ad6dd450b68dc30372b168
Reviewed-by: default avatarThomas Hartmann <>
parent 147ed4ba
......@@ -93,7 +93,7 @@ ContextPaneTextWidget::ContextPaneTextWidget(QWidget *parent) :
connect(ui->styleComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(onStyleComboBoxChanged(QString)));
static inline bool checkIfBoolean(QVariant v)
static inline bool checkIfBoolean(const QVariant &v)
return (v.toString() == QLatin1String("true") || v.toString() == QLatin1String("false"));
Supports Markdown
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