Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(macOS): hide dock icon when closing settings with ⌘+W #9702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(macOS): hide dock icon when closing settings with ⌘+W #9702
Changes from all commits
30b7fbfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check warning on line 53 in src/gui/settingsdialog.cpp
Unmodified variable "widget" of type "const class QWidget *" should be const-qualified.
Check warning on line 61 in src/gui/settingsdialog.cpp
Unmodified variable "widget" of type "const class QWidget *" should be const-qualified.
Check warning on line 69 in src/gui/settingsdialog.cpp
Unmodified variable "widget" of type "const class QWidget *" should be const-qualified.
Check warning on line 75 in src/gui/settingsdialog.cpp
Unmodified variable "width" of type "int" should be const-qualified.
Check warning on line 77 in src/gui/settingsdialog.cpp
Unmodified variable "widget" of type "const class QWidget *" should be const-qualified.
Check warning on line 92 in src/gui/settingsdialog.cpp
Replace constant with "std::numbers::phi_v<float>".
Check warning on line 126 in src/gui/settingsdialog.cpp
Unmodified variable "event" of type "class QMouseEvent *" should be const-qualified.
Check warning on line 129 in src/gui/settingsdialog.cpp
Unmodified variable "window" of type "const class QWidget *" should be const-qualified.
Check warning on line 177 in src/gui/settingsdialog.cpp
Unmodified variable "accountSpacer" of type "class QWidget *" should be const-qualified.
Check failure on line 177 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check failure on line 222 in src/gui/settingsdialog.cpp
Use "=default" instead of the default implementation of this special member functions.
Check warning on line 232 in src/gui/settingsdialog.cpp
Remove this method "resizeEvent" to simply inherit it.
Check warning on line 232 in src/gui/settingsdialog.cpp
Unmodified variable "event" of type "class QResizeEvent *" should be const-qualified.
Check warning on line 284 in src/gui/settingsdialog.cpp
Unmodified variable "contentContainer" of type "class QWidget *" should be const-qualified.
Check warning on line 353 in src/gui/settingsdialog.cpp
Make the type of this variable a pointer-to-const. The current type of "account" is "class OCC::Account *".
Check warning on line 360 in src/gui/settingsdialog.cpp
Unmodified variable "account" of type "const class OCC::Account *" should be const-qualified.
Check warning on line 430 in src/gui/settingsdialog.cpp
Avoid explicitly specifying the template arguments by relying on the class template argument deduction.
Check warning on line 436 in src/gui/settingsdialog.cpp
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 439 in src/gui/settingsdialog.cpp
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 442 in src/gui/settingsdialog.cpp
Edit this comment to use the C++ format, i.e. "//".
Check warning on line 518 in src/gui/settingsdialog.cpp
Unmodified variable "mainLayout" of type "class QHBoxLayout *" should be const-qualified.
Check failure on line 518 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check failure on line 531 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check warning on line 531 in src/gui/settingsdialog.cpp
Unmodified variable "navigationContainer" of type "class QWidget *" should be const-qualified.
Check warning on line 535 in src/gui/settingsdialog.cpp
Unmodified variable "navigationLayout" of type "class QVBoxLayout *" should be const-qualified.
Check failure on line 535 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check warning on line 541 in src/gui/settingsdialog.cpp
Unmodified variable "navigationScroll" of type "class QScrollArea *" should be const-qualified.
Check failure on line 541 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check failure on line 551 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Check warning on line 554 in src/gui/settingsdialog.cpp
Unmodified variable "contentScroll" of type "class QScrollArea *" should be const-qualified.
Check failure on line 554 in src/gui/settingsdialog.cpp
Replace the use of "new" with an operation that automatically manages the memory.
Uh oh!
There was an error while loading. Please reload this page.