mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
* Cleaned up the exception classes so they require less space. This
reduced the size of the stripped libtorrent by 1/7. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@822 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -53,7 +53,7 @@ ElementStringList::ElementStringList() :
|
||||
void
|
||||
ElementStringList::activate(display::Frame* frame, bool focus) {
|
||||
if (is_active())
|
||||
throw torrent::client_error("ui::ElementStringList::activate(...) is_active().");
|
||||
throw torrent::internal_error("ui::ElementStringList::activate(...) is_active().");
|
||||
|
||||
control->input()->push_back(&m_bindings);
|
||||
|
||||
@@ -67,7 +67,7 @@ ElementStringList::activate(display::Frame* frame, bool focus) {
|
||||
void
|
||||
ElementStringList::disable() {
|
||||
if (!is_active())
|
||||
throw torrent::client_error("ui::ElementStringList::disable(...) !is_active().");
|
||||
throw torrent::internal_error("ui::ElementStringList::disable(...) !is_active().");
|
||||
|
||||
control->input()->erase(&m_bindings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user