projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work around problems in QTreeView when using Qt 4.8
[quassel.git]
/
src
/
uisupport
/
bufferview.cpp
diff --git
a/src/uisupport/bufferview.cpp
b/src/uisupport/bufferview.cpp
index
b2fbc0f
..
ef1d927
100644
(file)
--- a/
src/uisupport/bufferview.cpp
+++ b/
src/uisupport/bufferview.cpp
@@
-65,11
+65,14
@@
void BufferView::init() {
hideColumn(1);
hideColumn(2);
setIndentation(10);
hideColumn(1);
hideColumn(2);
setIndentation(10);
+
expandAll();
header()->hide(); // nobody seems to use this anyway
expandAll();
header()->hide(); // nobody seems to use this anyway
- setAnimated(true);
+ // breaks with Qt 4.8
+ if(QString("4.8.0") > qVersion()) // FIXME breaks with Qt versions >= 4.10!
+ setAnimated(true);
// FIXME This is to workaround bug #663
setUniformRowHeights(true);
// FIXME This is to workaround bug #663
setUniformRowHeights(true);