projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typos
[quassel.git]
/
src
/
uisupport
/
bufferview.cpp
diff --git
a/src/uisupport/bufferview.cpp
b/src/uisupport/bufferview.cpp
index
f5db3e2
..
22d55c2
100644
(file)
--- a/
src/uisupport/bufferview.cpp
+++ b/
src/uisupport/bufferview.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-202
0
by the Quassel Project *
+ * Copyright (C) 2005-202
2
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-44,8
+44,8
@@
/*****************************************
* The TreeView showing the Buffers
*****************************************/
/*****************************************
* The TreeView showing the Buffers
*****************************************/
-// Please be careful
l
when reimplementing methods which are used to inform the view about changes to the data
-// to be on the safe side: call QTreeView's method aswell (or TreeViewTouch's)
+// Please be careful when reimplementing methods which are used to inform the view about changes to the data
+// to be on the safe side: call QTreeView's method as
well (or TreeViewTouch's)
BufferView::BufferView(QWidget* parent)
: TreeViewTouch(parent)
{
BufferView::BufferView(QWidget* parent)
: TreeViewTouch(parent)
{
@@
-728,7
+728,7
@@
BufferViewDock::BufferViewDock(BufferViewConfig* config, QWidget* parent)
void BufferViewDock::setLocked(bool locked)
{
if (locked) {
void BufferViewDock::setLocked(bool locked)
{
if (locked) {
- setFeatures(
nullptr
);
+ setFeatures(
{}
);
}
else {
setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetFloatable);
}
else {
setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetFloatable);