Revert "feat: 社区差异化需求实现"
This reverts commit f1ac5f9f00
.
Fixes linuxdeepin/developer-center#3617
Log: 修复 launcher 无法记住全屏状态
This commit is contained in:
parent
0c2aaae1b0
commit
fa763545fa
@ -26,7 +26,6 @@
|
||||
#include <QEventLoop>
|
||||
#include <QFileInfo>
|
||||
|
||||
#include <DSysInfo>
|
||||
#include <DDesktopServices>
|
||||
|
||||
#include <regex>
|
||||
@ -59,7 +58,6 @@ Launcher::Launcher(QObject *parent)
|
||||
loadNameMap();
|
||||
initItems();
|
||||
|
||||
initData();
|
||||
initConnection();
|
||||
}
|
||||
|
||||
@ -68,12 +66,6 @@ Launcher::~Launcher()
|
||||
QDBusConnection::sessionBus().unregisterObject(dbusPath);
|
||||
}
|
||||
|
||||
void Launcher::initData()
|
||||
{
|
||||
if (DSysInfo::isCommunityEdition())
|
||||
setFullscreen(true);
|
||||
}
|
||||
|
||||
void Launcher::setSyncConfig(QByteArray ba)
|
||||
{
|
||||
if (!SETTING)
|
||||
|
@ -69,8 +69,6 @@ public:
|
||||
explicit Launcher(QObject *parent);
|
||||
~Launcher();
|
||||
|
||||
void initData();
|
||||
|
||||
// 设置配置
|
||||
void setSyncConfig(QByteArray ba);
|
||||
QByteArray getSyncConfig();
|
||||
|
Loading…
Reference in New Issue
Block a user