r18620 by jghali - add small comment for Qt5 related hack

scribus-commit scribus-commit at lists.scribus.net
Tue Dec 3 23:17:35 UTC 2013


Author: jghali
Date: Tue Dec  3 23:17:35 2013
New Revision: 18620

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18620
Log:
add small comment for Qt5 related hack

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

Modified: trunk/Scribus/scribus/ui/customfdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18620&path=/trunk/Scribus/scribus/ui/customfdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/customfdialog.cpp (original)
+++ trunk/Scribus/scribus/ui/customfdialog.cpp Tue Dec  3 23:17:35 2013
@@ -491,6 +491,7 @@
 		if (!sel.isEmpty())
 			pw->GenPreview(QDir::fromNativeSeparators(sel[0]));
 	}
+	// #11856: Hack to avoid file dialog widget turning black with Qt5
 	qApp->processEvents();
 	pw->setVisible(!previewIsShown);
 	qApp->processEvents();




More information about the scribus-commit mailing list