Commit b518eb5d authored by Scott Wheeler's avatar Scott Wheeler

Missed this when reading over the patch from yesterday -- use a const

reference here rather than pass-by-value...

svn path=/trunk/kdemultimedia/juk/; revision=302931
parent 8d3e49f7
......@@ -549,7 +549,7 @@ void TagEditor::saveChangesPrompt()
}
}
void TagEditor::addItem(const QString &text, QWidget *item, QBoxLayout *layout, QString iconName)
void TagEditor::addItem(const QString &text, QWidget *item, QBoxLayout *layout, const QString &iconName)
{
if(!item || !layout)
return;
......
......@@ -61,7 +61,7 @@ private:
* Adds an item to JuK's tagging layout. This handles the creation and
* placement of the "enable" box as well.
*/
void addItem(const QString &text, QWidget *item, QBoxLayout *layout, QString iconName = QString::null);
void addItem(const QString &text, QWidget *item, QBoxLayout *layout, const QString &iconName = QString::null);
/**
* Adds a widget to m_hideList and returns that widget.
......
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