Common: Cleanup some Path constructions.

This commit is contained in:
Unknown W. Brackets committed 2021-05-14 22:48:04 -07:00
1 parent 2a9170a2ea
commit d376e67f87
13 files changed
+21 -22

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ void AsyncImageFileView::Draw(UIContext &dc) {
class ScreenshotViewScreen : public PopupScreen {
public:
ScreenshotViewScreen(Path filename, std::string title, int slot, std::shared_ptr<I18NCategory> i18n)
ScreenshotViewScreen(const Path &filename, std::string title, int slot, std::shared_ptr<I18NCategory> i18n)
: PopupScreen(title, i18n->T("Load State"), "Back"), filename_(filename), slot_(slot) {} // PopupScreen will translate Back on its own
int GetSlot() const {