自定义对话框logo跟随主题
This commit is contained in:
parent
0469c1a28a
commit
453e9029ea
|
@ -9,6 +9,7 @@
|
|||
#include "../common/mydefine.h"
|
||||
#include "../common/utils.h"
|
||||
#include "messageboxutils.h"
|
||||
#include "gsettingswrapper.h"
|
||||
|
||||
DeleteBackupDialog::DeleteBackupDialog(ParseBackupList::BackupPoint backupPonit, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
|
@ -42,6 +43,7 @@ DeleteBackupDialog::DeleteBackupDialog(ParseBackupList::BackupPoint backupPonit,
|
|||
m_mTitleIcon->setFixedSize(24, 24);
|
||||
QIcon titleIcon = QIcon::fromTheme(THEME_YHKYLIN_BACKUP_TOOLS);
|
||||
m_mTitleIcon->setPixmap(titleIcon.pixmap(titleIcon.actualSize(QSize(24, 24))));
|
||||
GSettingsWrapper::connectUkuiStyleSchema(m_mTitleIcon);
|
||||
|
||||
// 标题
|
||||
m_titleLabel = new MyLabel;
|
||||
|
|
Loading…
Reference in New Issue