Skip to content
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

fixed #10597: Dialogs icon #26843

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Eism
Copy link
Contributor

@Eism Eism commented Feb 28, 2025

Resolves: #10597

@@ -63,6 +63,7 @@ void PopupWindow_QQuickView::init(QQmlEngine* engine, bool isDialogMode, bool is
// dialog
if (isDialogMode) {
m_view->setFlags(Qt::Dialog);
m_view->setIcon(QIcon(uiConfiguration()->appIconPath().toString()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be safer to set it app-wide? https://doc.qt.io/qt-6/qguiapplication.html#windowIcon-prop
Or does that not work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is of course preferable, I tried QGuiApplication::setWindowIcon, but it didn't work

@DmitryArefiev
Copy link
Contributor

Tested #10597 on Win10, Mac13.6, LinuxUbuntu24.04.2 LTS - FIXED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MU4 Issue] Many dialog windows have missing app icon in the title bar on Windows
3 participants