From 5177db6d63e48e7ff6ee9ffcef2dee9d77b80075 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 19 Jan 2016 17:23:23 +0100 Subject: Re-introduce tree structure: Allow server-defined sections --- src/xsession.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/xsession.h') diff --git a/src/xsession.h b/src/xsession.h index 75deffc..10b3b0b 100644 --- a/src/xsession.h +++ b/src/xsession.h @@ -19,6 +19,10 @@ class XSession : public Session { bool isValid() const; int priority() const; + QString section() const { + return QObject::tr("X-Sessions"); + } + QString shortDescription() const { return this->name_; } -- cgit v1.2.3-55-g7522