Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 19107 → Rev 19108

/trunk/Scribus/scribus/prefsmanager.cpp
1037,11 → 1037,14
return false;
if (appPrefs.extToolPrefs.latexCommands.isEmpty())
return false;
bool foundAny=false;
bool foundAny = false;
foreach (QString cmd, appPrefs.extToolPrefs.latexCommands)
{
if (fileInPath(cmd))
foundAny=true;
{
foundAny = true;
break;
}
}
return foundAny;
}
/trunk/Scribus/scribus/util_file.cpp
195,6 → 195,10
if (filename.isEmpty())
return false;
QString file = filename.split(' ', QString::SkipEmptyParts).at(0); //Ignore parameters
#if defined(Q_OS_WIN32)
if (QFileInfo(file).suffix().isEmpty())
file += ".exe";
#endif
 
file = QDir::fromNativeSeparators(file);
if (file.indexOf('/') >= 0)