Fix non-portals build and remove some temporary debugging code generating warnings when compiling the Windows build

This commit is contained in:
Zachary Hall 2023-07-17 13:42:58 -07:00
parent 2370e1f495
commit c06b28ca11
2 changed files with 1 additions and 2 deletions

View file

@ -142,7 +142,7 @@ void FileBrowser::Display() {
#ifdef PORTALS
g_main_context_iteration(main_context, false);
#else
fallback.Display()
fallback.Display();
#endif
}

View file

@ -400,7 +400,6 @@ int main(int, char**)
} else {
ImGui::TableSetColumnIndex(1);
if (ImGui::SmallButton((string(ICON_FK_WINDOW_CLOSE "##") + themePath.stem().generic_string()).c_str())) {
printf("%s\n", themePath.c_str());
std::filesystem::remove(themePath);
Theme::updateAvailableThemes();
break;