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

@ -71,9 +71,9 @@ class LayoutManager : public QObject {
void layoutTriggered();
private:
//change to the given layout name and make all the necesary adjustments
void setLayoutName(QString name);
void setLayoutName(const QString& name);
//get the file name for a layout name
QString getFileName( QString layoutname );
QString getFileName(const QString& layoutname);
//the directory in wich the joystick devices are (e.g. "/dev/input")
QString devdir;
QString settingsDir;