Fix non-portals build and remove some temporary debugging code generating warnings when compiling the Windows build
This commit is contained in:
parent
2370e1f495
commit
c06b28ca11
2 changed files with 1 additions and 2 deletions
|
@ -142,7 +142,7 @@ void FileBrowser::Display() {
|
||||||
#ifdef PORTALS
|
#ifdef PORTALS
|
||||||
g_main_context_iteration(main_context, false);
|
g_main_context_iteration(main_context, false);
|
||||||
#else
|
#else
|
||||||
fallback.Display()
|
fallback.Display();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
main.cpp
1
main.cpp
|
@ -400,7 +400,6 @@ int main(int, char**)
|
||||||
} else {
|
} else {
|
||||||
ImGui::TableSetColumnIndex(1);
|
ImGui::TableSetColumnIndex(1);
|
||||||
if (ImGui::SmallButton((string(ICON_FK_WINDOW_CLOSE "##") + themePath.stem().generic_string()).c_str())) {
|
if (ImGui::SmallButton((string(ICON_FK_WINDOW_CLOSE "##") + themePath.stem().generic_string()).c_str())) {
|
||||||
printf("%s\n", themePath.c_str());
|
|
||||||
std::filesystem::remove(themePath);
|
std::filesystem::remove(themePath);
|
||||||
Theme::updateAvailableThemes();
|
Theme::updateAvailableThemes();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue