|
|
@ -36,6 +36,8 @@ Launcher::DataFilesPage::DataFilesPage(Files::ConfigurationManager &cfg, Config:
|
|
|
|
ui.setupUi (this);
|
|
|
|
ui.setupUi (this);
|
|
|
|
setObjectName ("DataFilesPage");
|
|
|
|
setObjectName ("DataFilesPage");
|
|
|
|
mSelector = new ContentSelectorView::ContentSelector (ui.contentSelectorWidget);
|
|
|
|
mSelector = new ContentSelectorView::ContentSelector (ui.contentSelectorWidget);
|
|
|
|
|
|
|
|
const QString encoding = mGameSettings.value("encoding", "win1252");
|
|
|
|
|
|
|
|
mSelector->setEncoding(encoding);
|
|
|
|
|
|
|
|
|
|
|
|
mProfileDialog = new TextInputDialog(tr("New Content List"), tr("Content List name:"), this);
|
|
|
|
mProfileDialog = new TextInputDialog(tr("New Content List"), tr("Content List name:"), this);
|
|
|
|
|
|
|
|
|
|
|
@ -357,4 +359,4 @@ void Launcher::DataFilesPage::reloadCells(QStringList selectedFiles)
|
|
|
|
QStringList cellNamesList = QStringList::fromSet(cellNameLoader.getCellNames(selectedFiles));
|
|
|
|
QStringList cellNamesList = QStringList::fromSet(cellNameLoader.getCellNames(selectedFiles));
|
|
|
|
std::sort(cellNamesList.begin(), cellNamesList.end());
|
|
|
|
std::sort(cellNamesList.begin(), cellNamesList.end());
|
|
|
|
emit signalLoadedCellsChanged(cellNamesList);
|
|
|
|
emit signalLoadedCellsChanged(cellNamesList);
|
|
|
|
}
|
|
|
|
}
|
|
|
|