fix(ukcc-plugin):修复内容索引弹窗不在父窗口居中的问题.
This commit is contained in:
parent
6784c97e62
commit
969c463418
|
@ -176,7 +176,7 @@ QWidget *Search::pluginUi()
|
|||
});
|
||||
connect(m_contentIndexBtn, &kdk::KSwitchButton::pressed, this, [ & ] {
|
||||
if (!m_contentIndexBtn->isChecked()) {
|
||||
QMessageBox msgBox;
|
||||
QMessageBox msgBox(m_pluginWidget);
|
||||
msgBox.setModal(true);
|
||||
msgBox.setIcon(QMessageBox::Warning);
|
||||
msgBox.setText(tr("Create file content index will increase the usage of memory and CPU, do you still want to open it?"));
|
||||
|
|
Loading…
Reference in New Issue