From 2846c88debd537159898339d2a55dcdccdbab45b Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 27 May 2010 10:34:08 +0000 Subject: Added icons to the toolbar. Added messageboxes to discard and closeNoCommit. --- client/sessions.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/sessions.cc') 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; -- cgit v1.2.3