diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-11 08:51:54 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-11 14:07:01 (GMT) |
commit | 0f60b6e05a707630e02655c60ae60884262a4b8e (patch) | |
tree | 564982f5dc6a2266818e050b2576ef4f5e74eaf5 /src/gui/widgets/qsplitter.cpp | |
parent | f0a4a37a5182660580fd361110d3fd51463221d8 (diff) | |
download | Qt-0f60b6e05a707630e02655c60ae60884262a4b8e.zip Qt-0f60b6e05a707630e02655c60ae60884262a4b8e.tar.gz Qt-0f60b6e05a707630e02655c60ae60884262a4b8e.tar.bz2 |
remove q->layout() and q->parentWidget() code where unnecessary
Diffstat (limited to 'src/gui/widgets/qsplitter.cpp')
-rw-r--r-- | src/gui/widgets/qsplitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qsplitter.cpp b/src/gui/widgets/qsplitter.cpp index 400d78a..24a8b6c 100644 --- a/src/gui/widgets/qsplitter.cpp +++ b/src/gui/widgets/qsplitter.cpp @@ -397,7 +397,7 @@ void QSplitterPrivate::recalc(bool update) } if (empty) { - if (qobject_cast<QSplitter *>(q->parentWidget())) { + if (qobject_cast<QSplitter *>(parent)) { // nested splitters; be nice maxl = maxt = 0; } else { |