diff --git a/.gitigonre b/.gitigonre index c748005..85922a6 100644 --- a/.gitigonre +++ b/.gitigonre @@ -1,4 +1,3 @@ moc_*.cpp *.o *.user -translations/kylin-music_zh_CN.qm diff --git a/UI/sidebar/sidebarwidget.cpp b/UI/sidebar/sidebarwidget.cpp index 54ed43b..395a7ca 100644 --- a/UI/sidebar/sidebarwidget.cpp +++ b/UI/sidebar/sidebarwidget.cpp @@ -280,8 +280,6 @@ 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(); } @@ -372,8 +370,6 @@ 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 424c70b..1f93682 100644 --- a/UI/tableview/tableone.cpp +++ b/UI/tableview/tableone.cpp @@ -367,8 +367,6 @@ 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(); @@ -395,8 +393,6 @@ 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 bb9e57e..afeff04 100755 --- a/clear.sh +++ b/clear.sh @@ -12,5 +12,4 @@ 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 dd6878c..f3e0aba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,3 @@ -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 new file mode 100644 index 0000000..c4da5a6 Binary files /dev/null and b/translations/kylin-music_bo_CN.qm differ diff --git a/translations/kylin-music_zh_CN.qm b/translations/kylin-music_zh_CN.qm new file mode 100644 index 0000000..d3f2347 Binary files /dev/null and b/translations/kylin-music_zh_CN.qm differ diff --git a/translations/qt_zh_CN.qm b/translations/qt_zh_CN.qm new file mode 100644 index 0000000..3c9e303 Binary files /dev/null and b/translations/qt_zh_CN.qm differ