Skip to content

Commit

Permalink
WelcomeTab: Enabling using of HTTPS for RSS download for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
simsekgokhan committed Mar 22, 2019
1 parent be89b5c commit 7419c40
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/robomongo/gui/widgets/workarea/WelcomeTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,10 @@ namespace Robomongo
WelcomeTab::WelcomeTab(QScrollArea *parent) :
QWidget(parent), _parent(parent)
{
// Not using https for Linux due to crashes and unstable behaviors
#ifdef __linux__
_pic1_URL = QString("http://rm-feed.3t.io/") + IMAGE_PATH;
_text1_URL = QString("http://rm-feed.3t.io/") + CONTENTS_PATH;
_rss_URL = QString("http://blog.robomongo.org/rss/");
#else
QString const prefix = AppRegistry::instance().settingsManager()->useHttps() ? "https" : "http";
_pic1_URL = prefix + QString("://rm-feed.3t.io/") + IMAGE_PATH;
_text1_URL = prefix + QString("://rm-feed.3t.io/") + CONTENTS_PATH;
_rss_URL = prefix + QString("://blog.robomongo.org/rss/");
#endif

/* Temporarily disabling Recent Connections feature
AppRegistry::instance().bus()->subscribe(this, ConnectionEstablishedEvent::Type);
Expand Down

0 comments on commit 7419c40

Please sign in to comment.