diff --git a/.gitigonre b/.gitigonre index 85922a6..c748005 100644 --- a/.gitigonre +++ b/.gitigonre @@ -1,3 +1,4 @@ moc_*.cpp *.o *.user +translations/kylin-music_zh_CN.qm diff --git a/UI/sidebar/sidebarwidget.cpp b/UI/sidebar/sidebarwidget.cpp index 395a7ca..54ed43b 100644 --- a/UI/sidebar/sidebarwidget.cpp +++ b/UI/sidebar/sidebarwidget.cpp @@ -280,6 +280,8 @@ void SideBarWidget::getPlayListName() void SideBarWidget::addPlayList() { newSonglistPup->enterLineEdit->clear(); + QRect availableGeometry = Widget::mutual->geometry(); + newSonglistPup->move(availableGeometry.center() - newSonglistPup->rect().center()); newSonglistPup->show(); newSonglistPup->enterLineEdit->setFocus(); } @@ -370,6 +372,8 @@ void SideBarWidget::rename(QString text) { btnText = text; renameSongListPup->enterLineEdit->clear(); + QRect availableGeometry = Widget::mutual->geometry(); + renameSongListPup->move(availableGeometry.center() - renameSongListPup->rect().center()); renameSongListPup->show(); renameSongListPup->enterLineEdit->setFocus(); } diff --git a/UI/tableview/tableone.cpp b/UI/tableview/tableone.cpp index 1f93682..424c70b 100644 --- a/UI/tableview/tableone.cpp +++ b/UI/tableview/tableone.cpp @@ -367,6 +367,8 @@ void TableOne::isDeleteSongs() //确认将选中的歌曲从歌单中删除? QMessageBox *warn = new QMessageBox(QMessageBox::Warning,tr("Prompt information"),tr("Confirm that the selected song will be deleted from the song list?"),QMessageBox::Yes | QMessageBox::No,Widget::mutual); warn->setWindowTitle(tr("kylin-music")); + QRect availableGeometry = parentWidget()->geometry(); + warn->move((availableGeometry.center() - warn->rect().center())); warn->button(QMessageBox::Yes)->setText(tr("Yes")); warn->button(QMessageBox::No)->setText(tr("No")); int result = warn->exec(); @@ -393,6 +395,8 @@ void TableOne::isDeleteLocalSongs() //歌曲从本地删除后不可恢复,是否确定删除? QMessageBox *warn = new QMessageBox(QMessageBox::Warning,tr("Prompt information"),tr("After the song is deleted from the local, it cannot be resumed. Is it sure to delete?"),QMessageBox::Yes | QMessageBox::No,Widget::mutual); + QRect availableGeometry = parentWidget()->geometry(); + warn->move(availableGeometry.center() - warn->rect().center()); warn->button(QMessageBox::Yes)->setText(tr("Yes")); warn->button(QMessageBox::No)->setText(tr("No")); int result = warn->exec(); diff --git a/clear.sh b/clear.sh index afeff04..bb9e57e 100755 --- a/clear.sh +++ b/clear.sh @@ -12,4 +12,5 @@ rm -rf kylin-music-plugins-simple/build/ \ debian/kylin-music.debhelper.log \ debian/kylin-music.substvars \ debian/kylin-music/ \ + translations/*.qm \ kylin-music diff --git a/debian/changelog b/debian/changelog index f3e0aba..dd6878c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +kylin-music (1.1.0.47-ok6~0732) yangtze; urgency=medium + + * [BUG] + - close-cd: #I7E19L 【设计走查】弹窗没有居中 + + * 其他: 无 + + -- liujiayang Wed, 30 Aug 2023 15:34:51 +0800 + kylin-music (1.1.0.47-ok6~0731) yangtze; urgency=medium * [BUG] diff --git a/translations/kylin-music_bo_CN.qm b/translations/kylin-music_bo_CN.qm deleted file mode 100644 index c4da5a6..0000000 Binary files a/translations/kylin-music_bo_CN.qm and /dev/null differ diff --git a/translations/kylin-music_zh_CN.qm b/translations/kylin-music_zh_CN.qm deleted file mode 100644 index d3f2347..0000000 Binary files a/translations/kylin-music_zh_CN.qm and /dev/null differ diff --git a/translations/qt_zh_CN.qm b/translations/qt_zh_CN.qm deleted file mode 100644 index 3c9e303..0000000 Binary files a/translations/qt_zh_CN.qm and /dev/null differ