summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qfiledialog_win.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-04-13 09:39:23 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-04-13 09:45:07 (GMT)
commitbe16b3def01783e693883c0990f73c815042b1e7 (patch)
treec8cb0f56f67ca3408c772d16b239804c05f91d18 /src/gui/dialogs/qfiledialog_win.cpp
parent53dc05de72d2176346a52f2b26b22fa1e5f83eb9 (diff)
downloadQt-be16b3def01783e693883c0990f73c815042b1e7.zip
Qt-be16b3def01783e693883c0990f73c815042b1e7.tar.gz
Qt-be16b3def01783e693883c0990f73c815042b1e7.tar.bz2
Remove useless assert
It would make qconfig crash.
Diffstat (limited to 'src/gui/dialogs/qfiledialog_win.cpp')
-rw-r--r--src/gui/dialogs/qfiledialog_win.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfiledialog_win.cpp b/src/gui/dialogs/qfiledialog_win.cpp
index afeed8e..258707c 100644
--- a/src/gui/dialogs/qfiledialog_win.cpp
+++ b/src/gui/dialogs/qfiledialog_win.cpp
@@ -218,7 +218,6 @@ static OPENFILENAME* qt_win_make_OFN(QWidget *parent,
memset(ofn, 0, sizeof(OPENFILENAME));
ofn->lStructSize = sizeof(OPENFILENAME);
- Q_ASSERT(!parent ||parent->testAttribute(Qt::WA_WState_Created));
ofn->hwndOwner = parent ? parent->winId() : 0;
ofn->lpstrFilter = (wchar_t*)tFilters.utf16();
ofn->lpstrFile = tInitSel;