fix(ukcc-plugin):修复内容索引弹窗不在父窗口居中的问题.
This commit is contained in:
parent
b6835305fc
commit
64cbe82b10
|
@ -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