X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferview.cpp;h=fd4c2457ca19e20e8ccee6857df7f38ee7e9ca22;hp=a0d5b28cc5303e7ee9b3f0ea6395a7409a6f7c51;hb=25bc72972586c19fb9a8c4a94d5845b2d16af121;hpb=72d25daa2c6cc00c17e79f756ad70bc00b41f9a8 diff --git a/src/uisupport/bufferview.cpp b/src/uisupport/bufferview.cpp index a0d5b28c..fd4c2457 100644 --- a/src/uisupport/bufferview.cpp +++ b/src/uisupport/bufferview.cpp @@ -113,5 +113,5 @@ void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) { void BufferView::toggleHeader(bool checked) { QAction *action = qobject_cast(sender()); - header()->setSectionHidden((action->property("column")).toInt(), not checked); + header()->setSectionHidden((action->property("column")).toInt(), !checked); }