const& params++, no need to rebuild menu when layout changes

This commit is contained in:
Mathias Panzenböck
2014-02-16 06:30:55 +01:00
parent a1f4cdedb3
commit 1ab111f3a5
4 changed files with 19 additions and 10 deletions

View File

@ -18,7 +18,7 @@ class LayoutEdit : public QWidget {
public:
LayoutEdit( LayoutManager* l );
//swap to a new layout
void setLayout(QString layout);
void setLayout(const QString& layout);
//update the list of available layouts
void updateLayoutList();
void updateJoypadWidgets();