/[packages]/cauldron/minitube/current/SOURCES/09c4b13abd0389d9cf701102f0701e86d85a9a98.patch
ViewVC logotype

Contents of /cauldron/minitube/current/SOURCES/09c4b13abd0389d9cf701102f0701e86d85a9a98.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1392654 - (show annotations) (download)
Wed Apr 17 20:48:29 2019 UTC (5 years ago) by kekepower
File size: 847 byte(s)
- Add upstream patch to fix no audio on resuming with new stream url
- Add upstream patch to fix new API for desktop geometry
SILENT: BR mpv-devel

1 From 09c4b13abd0389d9cf701102f0701e86d85a9a98 Mon Sep 17 00:00:00 2001
2 From: Flavio Tordini <flavio.tordini@gmail.com>
3 Date: Wed, 3 Apr 2019 11:33:58 +0200
4 Subject: [PATCH] New API for desktop geometry
5
6 ---
7 src/mainwindow.cpp | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
11 index 87526ff..cad2969 100644
12 --- a/src/mainwindow.cpp
13 +++ b/src/mainwindow.cpp
14 @@ -990,7 +990,7 @@ void MainWindow::readSettings() {
15 if (!geometrySettings.isEmpty()) {
16 restoreGeometry(geometrySettings);
17 } else {
18 - const QRect desktopSize = qApp->desktop()->availableGeometry();
19 + const QRect desktopSize = QGuiApplication::primaryScreen()->availableGeometry();
20 int w = desktopSize.width() * .9;
21 int h = qMin(w / 2, desktopSize.height());
22 setGeometry(

  ViewVC Help
Powered by ViewVC 1.1.30