Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 10134 → Rev 10135

/trunk/Scribus/scribus/helpbrowser.cpp
143,7 → 143,6
{
setupUi(this);
setupLocalUI();
 
language = guiLanguage.isEmpty() ? QString("en") : guiLanguage.left(2);
languageChange();
menuModel=NULL;
404,12 → 403,11
toLoad = ScPaths::instance().docDir() + language + "/"; //clean this later to handle 5 char locales
if (jumpToSection.isEmpty())
{
QModelIndex index=menuModel->index(0,0);
QModelIndex index=menuModel->index(0,1);
if (index.isValid())
{
listView->selectionModel()->select(index, QItemSelectionModel::ClearAndSelect);
toLoad=menuModel->data(index, Qt::DisplayRole).toString();
toLoad += menuModel->data(index, Qt::DisplayRole).toString();
}
else
noDocs=true;