Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
simsekgokhan committed Dec 19, 2017
1 parent 67cd8a2 commit 95d1b3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/robomongo/gui/widgets/workarea/WelcomeTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ namespace Robomongo
{
// 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;
_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);
_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

Expand Down

0 comments on commit 95d1b3f

Please sign in to comment.