* Turned the software renderer into a window as well
* Fix inability to move window on GNOME * Fix status bar icons being frozen after icon set switch
This commit is contained in:
@@ -120,7 +120,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
main_window = new MainWindow();
|
||||
main_window->show();
|
||||
main_window->setFocus();
|
||||
app.installEventFilter(main_window);
|
||||
|
||||
#ifdef Q_OS_WINDOWS
|
||||
@@ -134,13 +133,6 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
#endif
|
||||
|
||||
auto widgetList = app.allWidgets();
|
||||
for (auto curWidget : widgetList)
|
||||
{
|
||||
curWidget->setFocusPolicy(Qt::NoFocus);
|
||||
}
|
||||
main_window->setFocusPolicy(Qt::StrongFocus);
|
||||
|
||||
pc_reset_hard_init();
|
||||
|
||||
/* Set the PAUSE mode depending on the renderer. */
|
||||
|
||||
Reference in New Issue
Block a user