]> git.sur5r.net Git - minitube/commitdiff
Removed non-working standard feeds
authorFlavio <flavio@odisseo.local>
Fri, 3 Jan 2014 22:34:04 +0000 (23:34 +0100)
committerFlavio <flavio@odisseo.local>
Fri, 3 Jan 2014 22:34:04 +0000 (23:34 +0100)
src/standardfeedsview.cpp

index 4bfeee628e6a58aebdb6191c32171fbe49238867..7942d0d77dce2e9084c3d922962a873e292fd9fe 100644 (file)
@@ -95,19 +95,19 @@ void StandardFeedsView::addVideoSourceWidget(VideoSource *videoSource) {
     connect(w, SIGNAL(activated(VideoSource*)),
             SIGNAL(activated(VideoSource*)));
     int i = layout->count();
-    static const int cols = 5;
+    static const int cols = 4;
     layout->addWidget(w, i / cols, i % cols);
 }
 
 QList<YTStandardFeed*> StandardFeedsView::getMainFeeds() {
     QList<YTStandardFeed*> feeds;
 
-    feeds << buildStardardFeed("most_popular", tr("Most Popular"))
+    feeds << buildStardardFeed("most_popular", tr("Most Popular"));
           // << buildStardardFeed("recently_featured", tr("Featured"))
-          << buildStardardFeed("most_shared", tr("Most Shared"))
-          << buildStardardFeed("most_discussed", tr("Most Discussed"))
-          << buildStardardFeed("top_rated", tr("Top Rated"))
-          << buildStardardFeed("most_popular", tr("All Time Popular"), "all_time");
+          // << buildStardardFeed("most_shared", tr("Most Shared"))
+          // << buildStardardFeed("most_discussed", tr("Most Discussed"))
+          // << buildStardardFeed("top_rated", tr("Top Rated"))
+          // << buildStardardFeed("most_popular", tr("All Time Popular"), "all_time");
 
     return feeds;
 }