diff options
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r-- | src/FocusableList.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc index 77ff247..3373890 100644 --- a/src/FocusableList.cc +++ b/src/FocusableList.cc | |||
@@ -255,7 +255,7 @@ void FocusableList::attachSignals(Focusable &win) { | |||
255 | FbTk::RefCount<FbTk::SignalTracker> &tracker = m_signal_map[&win]; | 255 | FbTk::RefCount<FbTk::SignalTracker> &tracker = m_signal_map[&win]; |
256 | if (! tracker) { | 256 | if (! tracker) { |
257 | // we have not attached to this window yet | 257 | // we have not attached to this window yet |
258 | tracker = new SignalTracker; | 258 | tracker.reset(new SignalTracker); |
259 | tracker->join(win.titleSig(), MemFunSelectArg1(*this, &FocusableList::updateTitle)); | 259 | tracker->join(win.titleSig(), MemFunSelectArg1(*this, &FocusableList::updateTitle)); |
260 | tracker->join(win.dieSig(), MemFun(*this, &FocusableList::remove)); | 260 | tracker->join(win.dieSig(), MemFun(*this, &FocusableList::remove)); |
261 | if(fbwin) { | 261 | if(fbwin) { |