summaryrefslogtreecommitdiff
path: root/libre/minitube/remove_unfree_recommendations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/minitube/remove_unfree_recommendations.patch')
-rw-r--r--libre/minitube/remove_unfree_recommendations.patch17
1 files changed, 10 insertions, 7 deletions
diff --git a/libre/minitube/remove_unfree_recommendations.patch b/libre/minitube/remove_unfree_recommendations.patch
index 0b11b3be3..386d13d2f 100644
--- a/libre/minitube/remove_unfree_recommendations.patch
+++ b/libre/minitube/remove_unfree_recommendations.patch
@@ -1,8 +1,8 @@
diff --git a/minitube.pro b/minitube.pro
-index e75a41d..e3dbcb1 100644
+index 2308f10..853baff 100644
--- a/minitube.pro
+++ b/minitube.pro
-@@ -117,7 +117,6 @@ HEADERS += src/video.h \
+@@ -120,7 +120,6 @@ HEADERS += src/video.h \
src/searchwidget.h \
src/channellistview.h \
src/httputils.h \
@@ -10,7 +10,7 @@ index e75a41d..e3dbcb1 100644
src/clickablelabel.h \
src/ytvideo.h \
src/toolbarmenu.h \
-@@ -192,7 +191,6 @@ SOURCES += src/main.cpp \
+@@ -196,7 +195,6 @@ SOURCES += src/main.cpp \
src/paginatedvideosource.cpp \
src/channellistview.cpp \
src/httputils.cpp \
@@ -19,7 +19,7 @@ index e75a41d..e3dbcb1 100644
src/ytvideo.cpp \
src/toolbarmenu.cpp \
diff --git a/src/aboutview.cpp b/src/aboutview.cpp
-index 48b7dff..19140a8 100644
+index e60c173..70e2a50 100644
--- a/src/aboutview.cpp
+++ b/src/aboutview.cpp
@@ -30,7 +30,6 @@ $END_LICENSE */
@@ -30,21 +30,23 @@ index 48b7dff..19140a8 100644
#include "clickablelabel.h"
#include "fontutils.h"
#include "iconutils.h"
-@@ -197,8 +196,6 @@ AboutView::AboutView(QWidget *parent) : View(parent) {
+@@ -197,10 +196,6 @@ AboutView::AboutView(QWidget *parent) : View(parent) {
buttonLayout->addWidget(closeButton);
layout->addLayout(buttonLayout);
-
+-#ifndef APP_WIN_STORE
- verticalLayout->addWidget(new AppsWidget());
+-#endif
}
void AboutView::appear() {
diff --git a/src/appwidget.cpp b/src/appwidget.cpp
deleted file mode 100644
-index 3c67e28..0000000
+index c9c5181..0000000
--- a/src/appwidget.cpp
+++ /dev/null
-@@ -1,120 +0,0 @@
+@@ -1,121 +0,0 @@
-#include "appwidget.h"
-#include "constants.h"
-#include "http.h"
@@ -154,6 +156,7 @@ index 3c67e28..0000000
-void AppWidget::iconDownloaded(const QByteArray &bytes) {
- QPixmap pixmap;
- pixmap.loadFromData(bytes, "PNG");
+- pixmap.setDevicePixelRatio(devicePixelRatioF());
- icon->setPixmap(pixmap);
-}
-