Skip to content

Commit

Permalink
Get the Qt version working on Windows again
Browse files Browse the repository at this point in the history
With the upgrade to Qt6, the Windows version of Brunel stopped
exiting, and it's difficult to see how it ever worked to begin with,
even with Qt5. This commit also addresses a problem whereby Brunel
would ask twice whether to save a file that had been edited, due to
changes in the way the quit functionality is implemented on Qt6.
  • Loading branch information
Colin Ward committed May 27, 2024
1 parent 0a36a1b commit f8f8a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StdApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,9 @@ void RApplication::exit()

m_bDone = ETrue;

#elif defined(__unix__)
#elif defined(QT_GUI_LIB)

m_poApplication->quit();
m_poApplication->exit();

#else /* ! __unix__ */

Expand Down

0 comments on commit f8f8a0a

Please sign in to comment.