mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
Merge branch 'fanpengcheng/uos_bug33650_32857' into 'uos'
fix: 修复任务栏出现多个的问题 See merge request dde-v20/dde-dock!631
This commit is contained in:
commit
303785464c
@ -100,6 +100,7 @@ int main(int argc, char *argv[])
|
||||
parser.addOption(disablePlugOption);
|
||||
parser.process(app);
|
||||
|
||||
DGuiApplicationHelper::setSingelInstanceInterval(-1);
|
||||
if (!app.setSingleInstance(QString("dde-dock_%1").arg(getuid()))) {
|
||||
qDebug() << "set single instance failed!";
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user