Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24637 → Rev 24638

/trunk/Scribus/scribus/api/api_application.cpp
131,7 → 131,7
QString getSVNRevision()
{
#if defined(HAVE_SVNVERSION) && defined(SVNVERSION)
// if (isSVN())
if (isSVN())
return QString("%1").arg(SVNVERSION);
#endif
return QString();
/trunk/Scribus/scribus/ui/about.cpp
141,7 → 141,7
if (BUILD_NAME == "BleedingEdge")
built = tr("%3-%2-%1 %4 %5").arg(BUILD_DAY, BUILD_MONTH, BUILD_YEAR, BUILD_TIME, BUILD_TZ);
 
if (ScribusAPI::haveSVNRevision())
if (ScribusAPI::isSVN() && ScribusAPI::haveSVNRevision())
{
QString revText(tr("SVN Revision: "));
revText += ScribusAPI::getSVNRevision();