diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/game_list_worker.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu/uisettings.h | 8 |
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 { | |||
| 406 | type == GameListItemType::SysNandDir)) { | 406 | type == GameListItemType::SysNandDir)) { |
| 407 | item_model->invisibleRootItem()->removeRow(child->row()); | 407 | item_model->invisibleRootItem()->removeRow(child->row()); |
| 408 | i--; | 408 | i--; |
| 409 | }; | 409 | } |
| 410 | } | 410 | } |
| 411 | return !item_model->invisibleRootItem()->hasChildren(); | 411 | return !item_model->invisibleRootItem()->hasChildren(); |
| 412 | } | 412 | } |
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() { | |||
| 374 | ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(), | 374 | ScanFileSystem(ScanTarget::PopulateGameList, game_dir.path.toStdString(), |
| 375 | game_dir.deep_scan ? 256 : 0, game_list_dir); | 375 | game_dir.deep_scan ? 256 : 0, game_list_dir); |
| 376 | } | 376 | } |
| 377 | }; | 377 | } |
| 378 | 378 | ||
| 379 | emit Finished(watch_list); | 379 | emit Finished(watch_list); |
| 380 | } | 380 | } |
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; | |||
| 29 | 29 | ||
| 30 | struct GameDir { | 30 | struct GameDir { |
| 31 | QString path; | 31 | QString path; |
| 32 | bool deep_scan; | 32 | bool deep_scan = false; |
| 33 | bool expanded; | 33 | bool expanded = false; |
| 34 | bool operator==(const GameDir& rhs) const { | 34 | bool operator==(const GameDir& rhs) const { |
| 35 | return path == rhs.path; | 35 | return path == rhs.path; |
| 36 | }; | 36 | } |
| 37 | bool operator!=(const GameDir& rhs) const { | 37 | bool operator!=(const GameDir& rhs) const { |
| 38 | return !operator==(rhs); | 38 | return !operator==(rhs); |
| 39 | }; | 39 | } |
| 40 | }; | 40 | }; |
| 41 | 41 | ||
| 42 | struct Values { | 42 | struct Values { |