summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qsplitter.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-03-19 09:40:25 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-03-19 09:44:40 (GMT)
commit81f5cc4d938ff3a381358efa5d900517d66a80dd (patch)
treeca4fd60edc6622b77dc6534fbccc73f9bd1c66f3 /src/gui/widgets/qsplitter.cpp
parentec80437be9f0b70c0cec6248c95f6251de8f7e8b (diff)
downloadQt-81f5cc4d938ff3a381358efa5d900517d66a80dd.zip
Qt-81f5cc4d938ff3a381358efa5d900517d66a80dd.tar.gz
Qt-81f5cc4d938ff3a381358efa5d900517d66a80dd.tar.bz2
simple cleanup in QSplitter
there is no need for a singleshot for deleteLater here Reviewed-by: gabi
Diffstat (limited to 'src/gui/widgets/qsplitter.cpp')
-rw-r--r--src/gui/widgets/qsplitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qsplitter.cpp b/src/gui/widgets/qsplitter.cpp
index f4076eb..597b28b 100644
--- a/src/gui/widgets/qsplitter.cpp
+++ b/src/gui/widgets/qsplitter.cpp
@@ -1305,7 +1305,7 @@ void QSplitter::setRubberBand(int pos)
Q_D(QSplitter);
if (pos < 0) {
if (d->rubberBand)
- QTimer::singleShot(0, d->rubberBand, SLOT(deleteLater()));
+ d->rubberBand->deleteLater();
return;
}
QRect r = contentsRect();