summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-16 20:35:43 +0200
committerGitHub <noreply@github.com>2020-08-16 20:35:43 +0200
commitada9b7fb77f0c30a71396c1084616d912245ccab (patch)
tree087aa5a70514e7ae07f87f65f9527c2050795348 /src
parentMerge pull request #4528 from lioncash/discard (diff)
parentyuzu: Resolve -Wextra-semi warnings (diff)
downloadyuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar.gz
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar.bz2
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar.lz
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar.xz
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.tar.zst
yuzu-ada9b7fb77f0c30a71396c1084616d912245ccab.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/game_list.cpp2
-rw-r--r--src/yuzu/game_list_worker.cpp2
-rw-r--r--src/yuzu/uisettings.h8
3 files changed, 6 insertions, 6 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 62acc3720..967ef4a21 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -406,7 +406,7 @@ bool GameList::isEmpty() const {
type == GameListItemType::SysNandDir)) {
item_model->invisibleRootItem()->removeRow(child->row());
i--;
- };
+ }
}
return !item_model->invisibleRootItem()->hasChildren();
}
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp
index 643ca6491..c9a395222 100644
--- a/src/yuzu/game_list_worker.cpp
+++ b/src/yuzu/game_list_worker.cpp
@@ -374,7 +374,7 @@ void GameListWorker::run() {
ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(),
game_dir.deep_scan ? 256 : 0, game_list_dir);
}
- };
+ }
emit Finished(watch_list);
}
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index bbfeafc55..2d2e82f15 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -29,14 +29,14 @@ extern const Themes themes;
struct GameDir {
QString path;
- bool deep_scan;
- bool expanded;
+ bool deep_scan = false;
+ bool expanded = false;
bool operator==(const GameDir& rhs) const {
return path == rhs.path;
- };
+ }
bool operator!=(const GameDir& rhs) const {
return !operator==(rhs);
- };
+ }
};
struct Values {