forked from openkylin/ukui-search
parent
e420c60adb
commit
c6fc1dbceb
|
@ -335,11 +335,10 @@ void Search::appendBlockDirToList(const QString &path)
|
|||
dirFrameLayout->addWidget(pathLabel);
|
||||
dirFrameLayout->addStretch();
|
||||
QPushButton * delBtn = new QPushButton(dirFrame);
|
||||
delBtn->setIcon(QIcon::fromTheme("window-close-symbolic"));
|
||||
delBtn->setIcon(QIcon::fromTheme("edit-delete-symbolic"));
|
||||
delBtn->setProperty("useButtonPalette", true);
|
||||
delBtn->setFixedSize(30, 30);
|
||||
delBtn->setToolTip(tr("delete"));
|
||||
delBtn->setProperty("isWindowButton", 0x2);
|
||||
delBtn->setProperty("useIconHighlightEffect", 0x8);
|
||||
delBtn->setFlat(true);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue