Skip to content

Commit

Permalink
fix: Fixed the title bar exception
Browse files Browse the repository at this point in the history
Fixed the title bar exception

Bug: https://pms.uniontech.com/bug-view-269999.html
     https://pms.uniontech.com/bug-view-269997.html
Log: Fixed the title bar exception
  • Loading branch information
pengfeixx authored and deepin-bot[bot] committed Sep 2, 2024
1 parent d567e8f commit 4d7b606
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/music-player/dialogs/CDRemovedDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ DialogWindow {
color: Qt.rgba(247,247,247,0.80);
icon: globalVariant.appIconName

header: DialogTitleBar {
enableInWindowBlendBlur: false
}

ColumnLayout {
width: parent.width
Label {
Expand Down
5 changes: 5 additions & 0 deletions src/music-player/dialogs/CloseConfirmDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ DialogWindow {
height: 230
modality: Qt.ApplicationModal
icon: globalVariant.appIconName

header: DialogTitleBar {
enableInWindowBlendBlur: false
}

Column {
width: parent.width
height: parent.height
Expand Down
3 changes: 3 additions & 0 deletions src/music-player/dialogs/DeleteLocalDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ DialogWindow {
modality: Qt.ApplicationModal
// color: Qt.rgba(247,247,247,0.80);
icon: globalVariant.appIconName
header: DialogTitleBar {
enableInWindowBlendBlur: false
}
ColumnLayout {
width: parent.width
Label {
Expand Down
4 changes: 4 additions & 0 deletions src/music-player/dialogs/DeleteSonglistDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ DialogWindow {
modality: Qt.ApplicationModal
icon: globalVariant.appIconName

header: DialogTitleBar {
enableInWindowBlendBlur: false
}

Column {
width: parent.width
height: parent.height
Expand Down
2 changes: 1 addition & 1 deletion src/music-player/dialogs/EqualizerDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ DialogWindow {
minimumWidth: 572
minimumHeight: 426
header: DialogTitleBar {
enableInWindowBlendBlur: true
enableInWindowBlendBlur: false
}

Column {
Expand Down
2 changes: 1 addition & 1 deletion src/music-player/dialogs/MusicInfoDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DialogWindow {
width: 386
height: 468
header: DialogTitleBar {
enableInWindowBlendBlur: true
enableInWindowBlendBlur: false
content: Loader {
sourceComponent: Label {
property Palette textColor: Palette {
Expand Down
4 changes: 4 additions & 0 deletions src/music-player/dialogs/SettingsDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Settings.SettingsDialog {
config: SettingsConfig {}
flags: Qt.WindowCloseButtonHint | Qt.WindowStaysOnTopHint

header: DialogTitleBar {
enableInWindowBlendBlur: false
}

groups: [ // 创建配置组,管理配置子组和Options
Settings.SettingsGroup {
key: "Basic"
Expand Down
3 changes: 3 additions & 0 deletions src/music-player/mainwindow/WindowTitlebar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ TitleBar {
companyLogo: globalVariant.appIconName
websiteName: DTK.deepinWebsiteName
websiteLink: DTK.deepinWebsiteLink
header: DialogTitleBar {
enableInWindowBlendBlur: false
}
}
}
QuitAction {}
Expand Down

0 comments on commit 4d7b606

Please sign in to comment.