Commit 645d8e81 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Remove unneded copy constructor

The default one already does what this one does and hacing a copy
constructor but not an assignment operator makes gcc shout warnings
parent bd68c2ac
......@@ -138,12 +138,6 @@ struct LayoutUnit {
layout = layout_;
variant = variant_;
/*explicit*/ LayoutUnit(const LayoutUnit& layoutUnit) {
layout = layoutUnit.layout;
variant = layoutUnit.variant;
displayName = layoutUnit.displayName;
shortcut = layoutUnit.shortcut;
QString getRawDisplayName() const { return displayName; }
QString getDisplayName() const { return !displayName.isEmpty() ? displayName : layout; }
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