summaryrefslogtreecommitdiff
path: root/client/sessions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/sessions.cc')
-rw-r--r--client/sessions.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/sessions.cc b/client/sessions.cc
index 50d7d6f..d663b65 100644
--- a/client/sessions.cc
+++ b/client/sessions.cc
@@ -84,6 +84,11 @@ void Sessions::show()
dlg.exec();
}
+bool Sessions::isEmpty()
+{
+ return s.size() == 0;
+}
+
QVariant Sessions::toVariant()
{
return s;