aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_728.py
blob: b95e1b3a6ac9b69fc26527ed29cd0702c41b7b3f (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)