Skip to content

Commit

Permalink
feat: hide account login in community version
Browse files Browse the repository at this point in the history
由于日志同步功能在社区版本还不可用
在社区版系统隐藏账户登陆

Log:
Issues: linuxdeepin/developer-center#5912
  • Loading branch information
myml committed Dec 12, 2023
1 parent 75450b0 commit 64632c4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "units.h"
#include "calendarprogramexitcontrol.h"
#include <DSysInfo>

const QString firstDayOfWeek_key = "firstDayOfWeek";
const QString shortTimeFormat_key = "shortTimeFormat";
Expand All @@ -23,6 +24,9 @@ DAccountManageModule::DAccountManageModule(QObject *parent)
&DAccountManageModule::slotSettingChange);
}
m_isSupportUid = m_syncFileManage->getSyncoperation()->hasAvailable();
if(Dtk::Core::DSysInfo::isCommunityEdition()){
m_isSupportUid = false;
}
//新文件路径
QString newDbPath = getDBPath();
QString newDB(newDbPath + "/" + "accountmanager.db");
Expand Down

0 comments on commit 64632c4

Please sign in to comment.