Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5763 → Rev 5764

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