From 46585d7c62a53bfaf5173aa4e67d64735af1d2ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jan 2014 14:16:53 +0300 Subject: add ability to notify setup pages about disconnect from server. Show mods page only if connected to server. --- src/gui/widgets/setupitem.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/setupitem.cpp') diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp index 2cf35c144..e8bec1db6 100644 --- a/src/gui/widgets/setupitem.cpp +++ b/src/gui/widgets/setupitem.cpp @@ -184,6 +184,10 @@ void SetupItem::externalUpdated(const std::string &eventName A_UNUSED) toWidget(); } +void SetupItem::externalUnloaded(const std::string &eventName A_UNUSED) +{ +} + void SetupItem::fixFirstItemSize(gcn::Widget *const widget) { const int maxSize = mParent->getPreferredFirstItemSize(); -- cgit v1.2.3-60-g2f50