aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_728.py
blob: f9a5c8b1efe51afe32138df14457b6ebe6a199de (plain)
1
2
3
4
5
6
7
8
from PySide.QtGui import *
from PySide.QtCore import *

app = QApplication([])
QTimer.singleShot(200, app.quit)

# This test for a dead lock in QFileDialog.getOpenFileNames, the test fail with a timeout if the dead lock exists.
QFileDialog.getOpenFileNames(None, "caption", QDir.homePath(), None, QFileDialog.DontUseNativeDialog)