r19177 by jghali - Disable svn version display on Windows

scribus-commit scribus-commit at lists.scribus.net
Tue Jun 3 00:47:09 UTC 2014


Author: jghali
Date: Tue Jun  3 00:47:09 2014
New Revision: 19177

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19177
Log:
Disable svn version display on Windows

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

Modified: trunk/Scribus/scribus/ui/about.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19177&path=/trunk/Scribus/scribus/ui/about.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/about.cpp (original)
+++ trunk/Scribus/scribus/ui/about.cpp Tue Jun  3 00:47:09 2014
@@ -32,7 +32,9 @@
 #include "scconfig.h"
 #include "scpaths.h"
 #include "sctextbrowser.h"
+#ifndef Q_OS_WIN
 #include "svnversion.h"
+#endif
 #include "util_ghostscript.h"
 #include "util_icon.h"
 #include "upgradechecker.h"
@@ -130,10 +132,12 @@
 	if (BUILD_NAME == "BleedingEdge")
 		built = tr("%3-%2-%1 %4 %5").arg(BUILD_DAY).arg(BUILD_MONTH).arg(BUILD_YEAR).arg(BUILD_TIME).arg(BUILD_TZ);
 
+#ifndef Q_OS_WIN
 	QString revText;
 	revText=QString("SVN Revision: %1").arg(SVNVERSION);
 	built+=" - ";
 	built+=revText;
+#endif
 
 	QString bu;
 	bu += "C";




More information about the scribus-commit mailing list