回退 'Pull Request !28 : close-cd: #I7E19L 【设计走查】弹窗没有居中'
This commit is contained in:
parent
bc91934c5d
commit
012bc9c32a
|
@ -1,4 +1,3 @@
|
|||
moc_*.cpp
|
||||
*.o
|
||||
*.user
|
||||
translations/kylin-music_zh_CN.qm
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
1
clear.sh
1
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
|
||||
|
|
|
@ -1,12 +1,3 @@
|
|||
kylin-music (1.1.0.47-ok6~0732) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
- close-cd: #I7E19L 【设计走查】弹窗没有居中
|
||||
|
||||
* 其他: 无
|
||||
|
||||
-- liujiayang <liujiayang@kylinos.cn> Wed, 30 Aug 2023 15:34:51 +0800
|
||||
|
||||
kylin-music (1.1.0.47-ok6~0731) yangtze; urgency=medium
|
||||
|
||||
* [BUG]
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue