[FIX] #185164 【看图】桌面上的图片右键选择图片打印无打印弹窗,打印失败

This commit is contained in:
Yue-Lan 2023-07-31 15:32:06 +08:00
parent db922cce44
commit 04e17ce7cc
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ void DesktopMenuPluginManager::loadAsync()
if (!plugin)
continue;
// try fixing #185164 【看图】桌面上的图片右键选择图片打印无打印弹窗,打印失败
plugin->moveToThread(qApp->thread());
StylePluginIface *splugin = dynamic_cast<StylePluginIface*>(plugin);
if (splugin) {
QApplication::setStyle(splugin->getStyle());