r21875 by jghali - remove scface.h include from fontcombo.h, declaring ScFace class is enough here, put include in cpp.

scribus-commit scribus-commit at lists.scribus.net
Mon Apr 10 19:48:41 UTC 2017


Author: jghali
Date: Mon Apr 10 19:48:41 2017
New Revision: 21875

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21875
Log:
remove scface.h include from fontcombo.h, declaring ScFace class is enough here, put include in cpp.

Modified:
    trunk/Scribus/scribus/ui/fontcombo.cpp
    trunk/Scribus/scribus/ui/fontcombo.h

Modified: trunk/Scribus/scribus/ui/fontcombo.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21875&path=/trunk/Scribus/scribus/ui/fontcombo.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/fontcombo.cpp	(original)
+++ trunk/Scribus/scribus/ui/fontcombo.cpp	Mon Apr 10 19:48:41 2017
@@ -38,6 +38,8 @@
 #include "scribusapp.h"
 #include "scribusdoc.h"
 #include "util.h"
+
+#include "fonts/scface.h"
 
 extern ScribusQApp* ScQApp;
 

Modified: trunk/Scribus/scribus/ui/fontcombo.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21875&path=/trunk/Scribus/scribus/ui/fontcombo.h
==============================================================================
--- trunk/Scribus/scribus/ui/fontcombo.h	(original)
+++ trunk/Scribus/scribus/ui/fontcombo.h	Mon Apr 10 19:48:41 2017
@@ -30,15 +30,15 @@
 #include <QPixmapCache>
 
 #include "scribusapi.h"
-#include "fonts/scface.h"
 
 class QEvent;
 class QFont;
 class QGridLayout;
 class QPixmap;
 class QLabel;
+class PrefsManager;
+class ScFace;
 class ScribusDoc;
-class PrefsManager;
 
 
 /**




More information about the scribus-commit mailing list