Skip to content

Commit

Permalink
feat(pro): open deepin.com
Browse files Browse the repository at this point in the history
Change-Id: I135374984f9d8213c8771bcbef6622e6e5d37a9f
  • Loading branch information
haruyukilxz committed Jun 25, 2018
1 parent dedaa55 commit e743097
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dde-introduction.pro
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ INSTALLS += desktop target icon qm_files videos
host_mips64 | host_sw_64: {
DEFINES += DISABLE_VIDEO
}

deepin_professional: {
DEFINES += PROFESSIONAL
}

5 changes: 5 additions & 0 deletions src/widgets/bottomnavigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ BottomNavigation::BottomNavigation(QWidget *parent)
m_buttons[sinaBtn] = "https://weibo.com/p/1006062675284423/home";
m_buttons[twitterBtn] = "https://twitter.com/linux_deepin";
m_buttons[facebook] = "https://www.facebook.com/deepinlinux/";

#ifndef PROFESSIONAL
m_buttons[offical] = "https://www.deepin.org/";
#else
m_buttons[offical] = "https://www.deepin.com/";
#endif
m_buttons[community] = "https://bbs.deepin.org/";
m_buttons[feedback] = "http://feedback.deepin.org/";
m_buttons[thank] = "https://www.deepin.org/acknowledgments/deepin/";
Expand Down

0 comments on commit e743097

Please sign in to comment.