diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:16:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-09 14:16:53 +0300 |
commit | 46585d7c62a53bfaf5173aa4e67d64735af1d2ed (patch) | |
tree | 3ffa2902ee94455441dcc7fe4ae7b1e027e302e7 /src/gui/widgets/setupitem.cpp | |
parent | b3ad7da111d1a21f14de39d84be97104a9666017 (diff) | |
download | manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.gz manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.bz2 manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.xz manaverse-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.zip |
add ability to notify setup pages about disconnect from server.
Show mods page only if connected to server.
Diffstat (limited to 'src/gui/widgets/setupitem.cpp')
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |