1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-16 15:06:44 +00:00

Renaming Launcher::DataFilesPage::signalSelectedFilesChanged to signalLoadedCellsChanged

This commit is contained in:
Thunderforge 2018-06-08 19:18:23 -05:00
parent 62c4eb8d6a
commit dfa9968565
3 changed files with 3 additions and 3 deletions

View file

@ -356,5 +356,5 @@ void Launcher::DataFilesPage::reloadCells(QStringList selectedFiles)
CellNameLoader cellNameLoader; CellNameLoader cellNameLoader;
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 signalSelectedFilesChanged(cellNamesList); emit signalLoadedCellsChanged(cellNamesList);
} }

View file

@ -50,7 +50,7 @@ namespace Launcher
signals: signals:
void signalProfileChanged (int index); void signalProfileChanged (int index);
void signalSelectedFilesChanged(QStringList selectedFiles); void signalLoadedCellsChanged(QStringList selectedFiles);
public slots: public slots:
void slotProfileChanged (int index); void slotProfileChanged (int index);

View file

@ -140,7 +140,7 @@ void Launcher::MainDialog::createPages()
connect(mPlayPage, SIGNAL(signalProfileChanged(int)), mDataFilesPage, SLOT(slotProfileChanged(int))); connect(mPlayPage, SIGNAL(signalProfileChanged(int)), mDataFilesPage, SLOT(slotProfileChanged(int)));
connect(mDataFilesPage, SIGNAL(signalProfileChanged(int)), mPlayPage, SLOT(setProfilesIndex(int))); connect(mDataFilesPage, SIGNAL(signalProfileChanged(int)), mPlayPage, SLOT(setProfilesIndex(int)));
// Using Qt::QueuedConnection because signal is emitted in a subthread and slot is in the main thread // Using Qt::QueuedConnection because signal is emitted in a subthread and slot is in the main thread
connect(mDataFilesPage, SIGNAL(signalSelectedFilesChanged(QStringList)), mAdvancedPage, SLOT(slotLoadedCellsChanged(QStringList)), Qt::QueuedConnection); connect(mDataFilesPage, SIGNAL(signalLoadedCellsChanged(QStringList)), mAdvancedPage, SLOT(slotLoadedCellsChanged(QStringList)), Qt::QueuedConnection);
} }