diff options
author | Simon Rettberg | 2016-01-20 16:43:34 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-20 16:43:34 +0100 |
commit | 414c109d650a1014e7b84dfb66a00df420d67c97 (patch) | |
tree | ede0c5404aa408cd2bbb626312ed46383c7b13b6 /src/xsession.h | |
parent | Re-introduce tree structure: Allow server-defined sections (diff) | |
download | vmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.tar.gz vmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.tar.xz vmchooser2-414c109d650a1014e7b84dfb66a00df420d67c97.zip |
Remodel section handling: Use constants
Diffstat (limited to 'src/xsession.h')
-rw-r--r-- | src/xsession.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsession.h b/src/xsession.h index 10b3b0b..5f78bff 100644 --- a/src/xsession.h +++ b/src/xsession.h @@ -19,8 +19,8 @@ class XSession : public Session { bool isValid() const; int priority() const; - QString section() const { - return QObject::tr("X-Sessions"); + SectionType section() const { + return SECTION_XSESSION; } QString shortDescription() const { |