r16235 by fschmid - Don't use the native fileselector for our startup dialog.

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 9 21:29:09 CET 2011


Author: fschmid
Date: Sun Jan  9 20:29:09 2011
New Revision: 16235

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16235
Log:
Don't use the native fileselector for our startup dialog.

Modified:
    trunk/Scribus/scribus/ui/newfile.cpp

Modified: trunk/Scribus/scribus/ui/newfile.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16235&path=/trunk/Scribus/scribus/ui/newfile.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/newfile.cpp (original)
+++ trunk/Scribus/scribus/ui/newfile.cpp Sun Jan  9 20:29:09 2011
@@ -367,6 +367,7 @@
 	fileDialog = new QFileDialog(openDocFrame, tr("Open"), docDir, formats);
 	fileDialog->setFileMode(QFileDialog::ExistingFile);
 	fileDialog->setAcceptMode(QFileDialog::AcceptOpen);
+	fileDialog->setOption(QFileDialog::DontUseNativeDialog);
 #if QT_VERSION >= 0x040600
 	fileDialog->setNameFilterDetailsVisible(false);
 #else




More information about the scribus-commit mailing list