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 <QEventLoop>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
|
|
||||||
#include <DSysInfo>
|
|
||||||
#include <DDesktopServices>
|
#include <DDesktopServices>
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
@ -59,7 +58,6 @@ Launcher::Launcher(QObject *parent)
|
|||||||
loadNameMap();
|
loadNameMap();
|
||||||
initItems();
|
initItems();
|
||||||
|
|
||||||
initData();
|
|
||||||
initConnection();
|
initConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,12 +66,6 @@ Launcher::~Launcher()
|
|||||||
QDBusConnection::sessionBus().unregisterObject(dbusPath);
|
QDBusConnection::sessionBus().unregisterObject(dbusPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Launcher::initData()
|
|
||||||
{
|
|
||||||
if (DSysInfo::isCommunityEdition())
|
|
||||||
setFullscreen(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Launcher::setSyncConfig(QByteArray ba)
|
void Launcher::setSyncConfig(QByteArray ba)
|
||||||
{
|
{
|
||||||
if (!SETTING)
|
if (!SETTING)
|
||||||
|
@ -69,8 +69,6 @@ public:
|
|||||||
explicit Launcher(QObject *parent);
|
explicit Launcher(QObject *parent);
|
||||||
~Launcher();
|
~Launcher();
|
||||||
|
|
||||||
void initData();
|
|
||||||
|
|
||||||
// 设置配置
|
// 设置配置
|
||||||
void setSyncConfig(QByteArray ba);
|
void setSyncConfig(QByteArray ba);
|
||||||
QByteArray getSyncConfig();
|
QByteArray getSyncConfig();
|
||||||
|
Loading…
Reference in New Issue
Block a user