Common: Cleanup some Path constructions.
This commit is contained in:
parent
2a9170a2ea
commit
d376e67f87
13 changed files with 21 additions and 22 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue