mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 07:32:32 +00:00
* Fixed memory leaks in Control, ElementMenu and TextElementBranch.
* Check if RLIMIT_AS is present, else use RLIMIT_DATA. * Don't add one to the timeout in display::Window::mark_dirty() so that it updates the display immediately upon reorganizing the layout. * Updated doc/rtorrent.1. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@759 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+10
-5
@@ -45,17 +45,22 @@
|
||||
|
||||
namespace display {
|
||||
class WindowText;
|
||||
class TextElementStringBase;
|
||||
}
|
||||
|
||||
namespace ui {
|
||||
|
||||
struct ElementMenuEntry;
|
||||
struct ElementMenuEntry {
|
||||
display::TextElementStringBase* m_element;
|
||||
|
||||
class ElementMenu : public ElementBase, public std::vector<ElementMenuEntry*> {
|
||||
sigc::slot0<void> m_slotFocus;
|
||||
sigc::slot0<void> m_slotSelect;
|
||||
};
|
||||
|
||||
class ElementMenu : public ElementBase, public std::vector<ElementMenuEntry> {
|
||||
public:
|
||||
typedef ElementMenuEntry entry_type;
|
||||
typedef std::vector<entry_type*> base_type;
|
||||
typedef sigc::slot0<void> slot_type;
|
||||
typedef std::vector<ElementMenuEntry> base_type;
|
||||
typedef sigc::slot0<void> slot_type;
|
||||
|
||||
typedef display::WindowText WindowText;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user