Skip to content

Commit

Permalink
Revert "feat: 社区差异化需求实现"
Browse files Browse the repository at this point in the history
This reverts commit f1ac5f9.

Fixes linuxdeepin/developer-center#3617

Log: 修复 launcher 无法记住全屏状态
  • Loading branch information
zsien committed Feb 15, 2023
1 parent 0c2aaae commit fa76354
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/modules/launcher/launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <QEventLoop>
#include <QFileInfo>

#include <DSysInfo>
#include <DDesktopServices>

#include <regex>
Expand Down Expand Up @@ -59,7 +58,6 @@ Launcher::Launcher(QObject *parent)
loadNameMap();
initItems();

initData();
initConnection();
}

Expand All @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions src/modules/launcher/launcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ class Launcher : public SynModule, public QDBusContext
explicit Launcher(QObject *parent);
~Launcher();

void initData();

// 设置配置
void setSyncConfig(QByteArray ba);
QByteArray getSyncConfig();
Expand Down

0 comments on commit fa76354

Please sign in to comment.