Skip to content

Commit 3866a7b

Browse files
authored
connect refreshed signal and fix typos (#236)
* typo * typo * connect refreshed signal
1 parent 53d659f commit 3866a7b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/CSLOLTools.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CSLOLTools::CSLOLTools(QObject *parent) : QObject(parent) {
1818
connect(worker_, &CSLOLToolsImpl::blacklistChanged, this, &CSLOLTools::blacklistChanged);
1919
connect(worker_, &CSLOLToolsImpl::ignorebadChanged, this, &CSLOLTools::ignorebadChanged);
2020
connect(worker_, &CSLOLToolsImpl::initialized, this, &CSLOLTools::initialized);
21+
connect(worker_, &CSLOLToolsImpl::refreshed, this, &CSLOLTools::refreshed);
2122
connect(worker_, &CSLOLToolsImpl::modDeleted, this, &CSLOLTools::modDeleted);
2223
connect(worker_, &CSLOLToolsImpl::installedMod, this, &CSLOLTools::installedMod);
2324
connect(worker_, &CSLOLToolsImpl::profileSaved, this, &CSLOLTools::profileSaved);

src/qml/CSLOLModsView.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ ColumnLayout {
225225
}
226226
}
227227

228-
function refereshedMods(mods) {
228+
function refreshedMods(mods) {
229229
for (let fileName in mods) {
230230
if (updateModInfo_model(fileName, mods[fileName], cslolModsViewModel) === -1) {
231231
if (updateModInfo_model(fileName, mods[fileName], cslolModsViewModel2) === -1) {

src/qml/main.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ ApplicationWindow {
379379
cslolDialogEditMod.wadsRemoved(wads)
380380
}
381381
onRefreshed: function(mods) {
382-
cslolModsView.refereshedMods(mods)
382+
cslolModsView.refreshedMods(mods)
383383
}
384384
onUpdatedMods: function(mods) {
385385
cslolDialogUpdateMods.updatedMods = mods

0 commit comments

Comments
 (0)