Skip to content
Browse files

Change MythUIButtonList::SetValue() to pass QString by a const refere…

…nce rather than value.
  • Loading branch information...
1 parent 65b0f74 commit 8438a0e0aad3e7344575b9dd2d2fbb8d48c54d8e @stuartm stuartm committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythui/mythuibuttonlist.h
View
2 mythtv/libs/libmythui/mythuibuttonlist.h
@@ -140,7 +140,7 @@ class MUI_PUBLIC MythUIButtonList : public MythUIType
void Update();
virtual void SetValue(int value) { MoveToNamedPosition(QString::number(value)); }
- virtual void SetValue(QString value) { MoveToNamedPosition(value); }
+ virtual void SetValue(const QString &value) { MoveToNamedPosition(value); }
void SetValueByData(QVariant data);
virtual int GetIntValue() const;
virtual QString GetValue() const;

0 comments on commit 8438a0e

Please sign in to comment.
Something went wrong with that request. Please try again.