Remove old 'remove buffer' KeyPress code
authorgenius3000 <genius3000@g3k.solutions>
Thu, 27 Jul 2017 08:00:05 +0000 (02:00 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 4 Feb 2018 22:42:24 +0000 (23:42 +0100)
commit0ba56e60f400621ddc291669dc2c03a8e461c224
tree44a0daa83615341a89e8ff40b574edaab2133605
parenta6c3d4252d760a6de70cb000cc3d6ee34a36eb31
Remove old 'remove buffer' KeyPress code

Since commit 9f33f6e4 a 'hide current buffer' shortcut is available.
This is the global application shortcut like Sput referenced in
http://bugs.quassel-irc.org/issues/668

Keeping a hard-coded KeyPress event doing the same seems unnecessary.
Users have also expressed dislike in the use of 'Backspace' for this
buffer removal. Unintentional buffer removals are often for some.

This commit removes the 'KeyPress' event and cleans up the
'hideCurrentBuffer' code, removing commented (un-needed) code.

Reference: http://bugs.quassel-irc.org/issues/1403
Fixes #1403. Closes GH-299.
src/uisupport/bufferview.cpp
src/uisupport/bufferview.h