Commit 905c3b19 authored by Scott Wheeler's avatar Scott Wheeler

Unneeded assignment operator. The default works just fine.

svn path=/trunk/kdemultimedia/juk/; revision=359735
parent 089a3ded
......@@ -137,20 +137,4 @@ void TagRenamerOptions::saveConfig() const
config.sync();
}
TagRenamerOptions &TagRenamerOptions::operator=(const TagRenamerOptions &other)
{
if(this == &other)
return *this;
setPrefix(other.prefix());
setSuffix(other.suffix());
setEmptyText(other.emptyText());
setEmptyAction(other.emptyAction());
setTrackWidth(other.trackWidth());
setDisabled(other.disabled());
setCategory(other.category());
return *this;
}
// vim: set et ts=4 sw=4:
......@@ -56,8 +56,6 @@ public:
void setDisabled(bool disabled) { m_disabled = disabled; }
void setCategory(TagType category) { m_category = category; }
TagRenamerOptions &operator=(const TagRenamerOptions &other);
/**
* Maps \p type to a textual representation of its name. E.g. Track => "Track"
*
......
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