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
@@ -114,7 +114,7 @@ public:
} else {
Path image_path = savePath_.WithReplacedExtension(".ppst", ".jpg");
if (File::Exists(image_path)) {
toprow->Add(new AsyncImageFileView(Path(image_path), IS_KEEP_ASPECT, new LinearLayoutParams(480, 272, Margins(10, 0))));
toprow->Add(new AsyncImageFileView(image_path, IS_KEEP_ASPECT, new LinearLayoutParams(480, 272, Margins(10, 0))));
} else {
toprow->Add(new TextView(sa->T("No screenshot"), new LinearLayoutParams(Margins(10, 5))))->SetTextColor(textStyle.fgColor);
}