Make Quassel compile on MSVC.
[quassel.git] / src / uisupport / bufferview.cpp
index a0d5b28..fd4c245 100644 (file)
@@ -113,5 +113,5 @@ void BufferView::rowsInserted(const QModelIndex & parent, int start, int end) {
 
 void BufferView::toggleHeader(bool checked) {
   QAction *action = qobject_cast<QAction *>(sender());
-  header()->setSectionHidden((action->property("column")).toInt(), not checked);
+  header()->setSectionHidden((action->property("column")).toInt(), !checked);
 }