Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@
flags = Qt::Window; // cppcheck-suppress redundantInitialization // false positive
# endif
setWindowFlags(flags);
#else
# if QT_VERSION >= QT_VERSION_CHECK(6, 9, 0)
setAttribute(Qt::WA_ContentsMarginsRespectsSafeArea, false);
# endif
#endif

#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
Expand Down Expand Up @@ -3675,7 +3679,7 @@
break;
}
case QEvent::ActivationChange: {
if (m_editorSettingsWidget->isHidden()) {

Check warning on line 3682 in src/mainwindow.cpp

View workflow job for this annotation

GitHub Actions / macOS / Build (debug, homebrew (qt6), macos-13)

'setActiveWindow' is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
QApplication::setActiveWindow(this); // TODO: The docs say this function is deprecated but it's the only one
// that works in returning the user input from m_editorSettingsWidget
// Qt::Popup
Expand Down
Loading