Skip to content

Commit c8f3d71

Browse files
committed
fix: Compatible with installer plugin processing
Compatible with installer plugin processing pms: BUG-323021
1 parent fb52a7c commit c8f3d71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dss-network-plugin/networkmodule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ NetworkModule::NetworkModule(QObject *parent)
4040
, m_replacesId(0)
4141
, m_contentWidget(new QWidget)
4242
{
43-
m_isLockModel = !QCoreApplication::applicationName().contains("greeter");
43+
m_isLockModel = QCoreApplication::applicationName().contains("lock", Qt::CaseInsensitive);
4444

4545
m_contentWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
4646
QVBoxLayout *mainLayout = new QVBoxLayout(m_contentWidget);

0 commit comments

Comments
 (0)