From 414c109d650a1014e7b84dfb66a00df420d67c97 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 20 Jan 2016 16:43:34 +0100 Subject: Remodel section handling: Use constants --- src/xsession.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xsession.h') 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 { -- cgit v1.2.3-55-g7522