Implement issue #1219: Update the marker line when quassel loses focus
authorChris H (Shade / Zren) <zrenfire@gmail.com>
Thu, 22 Aug 2013 22:25:51 +0000 (18:25 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 14 Jan 2014 00:04:53 +0000 (01:04 +0100)
commitab9609663dd8ca549cf52a83f54a54bf3634fbc6
tree53c599524fd3ea646e363a3789db0037788be2d9
parentbb6f47baf3c9fe605db67de9ff6ca5b3f50d02e3
Implement issue #1219: Update the marker line when quassel loses focus

Solves issue #1219 on bugs.quassel-irc.org.

We now listen for QEvent::WindowDeactivate in the main window. This
should pickup on window closing/minimizing/losing focus. We also change
view->setMarkerLine() to Client::setMarkerLine which will send an event
to the syncher, and eventually arrives at ChatView::markerLineSet, which
moves the marker line for us.
src/qtui/bufferwidget.cpp
src/qtui/bufferwidget.h
src/qtui/mainwin.cpp
src/qtui/settingspages/chatviewsettingspage.ui