Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5771 → Rev 5772

/branches/Version133x/Scribus/scribus/gsutil.cpp
221,7 → 221,14
{
QStringList args;
PrefsManager* prefsManager = PrefsManager::instance();
args.append( getShortPathName(prefsManager->ghostscriptExecutable()) );
int ret = testGSAvailability(prefsManager->ghostscriptExecutable());
return ret;
}
 
int testGSAvailability( QString gsPath )
{
QStringList args;
args.append( getShortPathName(gsPath) );
args.append( "-h" );
int ret = System( args );
return ret;