r14198 by fschmid - Added a hack to make our file previews working again on patched versions of Qt (OpenSuse does this for example)

scribus-commit scribus-commit at lists.scribus.net
Tue Oct 20 12:15:20 CEST 2009


Revision: 14198
Author: fschmid
Date: 2009-10-20T07:37:23.326082Z
Commit message: Added a hack to make our file previews working again on patched versions of Qt (OpenSuse does this for example)

Changeset: 
M  /trunk/Scribus/scribus/ui/scfilewidget.h
M  /trunk/Scribus/scribus/ui/scfilewidget.cpp

Diffs:
Index: scribus/ui/scfilewidget.cpp
===================================================================
--- scribus/ui/scfilewidget.cpp	(revision 14197)
+++ scribus/ui/scfilewidget.cpp	(revision 14198)
@@ -31,3 +31,9 @@
 		return QString();
 	return l.at(0);
 }
+
+/* Hack to make the previews in our Fildialogs useable again
+   needed e.g on OpenSuse patched Qt versions */
+void ScFileWidget::accept()
+{
+}
Index: scribus/ui/scfilewidget.h
===================================================================
--- scribus/ui/scfilewidget.h	(revision 14197)
+++ scribus/ui/scfilewidget.h	(revision 14198)
@@ -30,6 +30,8 @@
 		ScFileWidget(QWidget * parent);
 
 		QString selectedFile();
+	public slots:
+		void accept();
 
 };
 




More information about the scribus-commit mailing list