summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-03-19 09:53:40 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-03-19 09:53:40 (GMT)
commit78b2e9421c47371b68f4c65a181a077ba3a226ac (patch)
tree232c2a229bd4b4a0b86f1c3207983762eaba141b /src/gui
parent71dedbee1f5a23411e2c82157a6fe6ee5d48ab6e (diff)
parent6d6df0e2b63f0103ec1f19b4b856b106e295d618 (diff)
downloadQt-78b2e9421c47371b68f4c65a181a077ba3a226ac.zip
Qt-78b2e9421c47371b68f4c65a181a077ba3a226ac.tar.gz
Qt-78b2e9421c47371b68f4c65a181a077ba3a226ac.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Removed an assert in the print dialog on windows simple cleanup in QSplitter Actually use GL texture cache when bindoptions are provided
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogs/qprintdialog_win.cpp2
-rw-r--r--src/gui/widgets/qsplitter.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/dialogs/qprintdialog_win.cpp b/src/gui/dialogs/qprintdialog_win.cpp
index 1061660..38c8759 100644
--- a/src/gui/dialogs/qprintdialog_win.cpp
+++ b/src/gui/dialogs/qprintdialog_win.cpp
@@ -141,7 +141,7 @@ static void qt_win_setup_PRINTDLGEX(PRINTDLGEX *pd, QWidget *parent,
if (d->ep->printToFile)
pd->Flags |= PD_PRINTTOFILE;
- Q_ASSERT(parent != 0 && parent->testAttribute(Qt::WA_WState_Created));
+ Q_ASSERT(parent);
pd->hwndOwner = parent->window()->winId();
pd->lpPageRanges[0].nFromPage = qMax(pdlg->fromPage(), pdlg->minPage());
pd->lpPageRanges[0].nToPage = (pdlg->toPage() > 0) ? qMin(pdlg->toPage(), pdlg->maxPage()) : 1;
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();