Qt: Don't create imgui.ini

This commit is contained in:
Connor McLaughlin 2020-01-07 18:55:26 +10:00
parent d32383bd95
commit c6d6b0405f

View file

@ -42,6 +42,7 @@ bool QtDisplayWindow::createImGuiContext()
ImGui::CreateContext();
auto& io = ImGui::GetIO();
io.IniFilename = nullptr;
io.DisplaySize.x = static_cast<float>(m_window_width);
io.DisplaySize.y = static_cast<float>(m_window_height);