summaryrefslogtreecommitdiff
path: root/client/sessions.cc
diff options
context:
space:
mode:
authordeva <deva>2010-05-27 10:34:08 +0000
committerdeva <deva>2010-05-27 10:34:08 +0000
commit2846c88debd537159898339d2a55dcdccdbab45b (patch)
tree5ce7205f3a6697721d1e1cb1bd4435c89e3de67f /client/sessions.cc
parentf92dd279a1e26dad7507d5d6944567c23834d440 (diff)
Added icons to the toolbar. Added messageboxes to discard and closeNoCommit.
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;