summaryrefslogtreecommitdiffstats
path: root/src/xsession.h
diff options
context:
space:
mode:
authorSimon Rettberg2016-01-20 16:43:34 +0100
committerSimon Rettberg2016-01-20 16:43:34 +0100
commit414c109d650a1014e7b84dfb66a00df420d67c97 (patch)
treeede0c5404aa408cd2bbb626312ed46383c7b13b6 /src/xsession.h
parentRe-introduce tree structure: Allow server-defined sections (diff)
downloadvmchooser2-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.h4
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 {