Skip to content

Commit d7462f4

Browse files
committed
fix: Fixed the crash issue of theater playback
Fixed the crash issue of theater playback Log: Fixed the crash issue of theater playback
1 parent cacc30d commit d7462f4

File tree

6 files changed

+17
-3
lines changed

6 files changed

+17
-3
lines changed

arm64/linglong.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: "1"
77
package:
88
id: org.deepin.movie
99
name: "deepin-movie"
10-
version: 6.5.3.1
10+
version: 6.5.4.1
1111
kind: app
1212
description: |
1313
movie for deepin os.

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
deepin-movie-reborn (6.5.4) unstable; urgency=medium
2+
3+
* chore: New version 6.5.4.
4+
5+
-- xiepengfei <xiepengfei@uniontech.com> Fri, 21 Feb 2025 14:35:05 +0800
6+
17
deepin-movie-reborn (6.5.3) unstable; urgency=medium
28

39
* chore: New version 6.5.3.

linglong.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: "1"
77
package:
88
id: org.deepin.movie
99
name: "deepin-movie"
10-
version: 6.5.3.1
10+
version: 6.5.4.1
1111
kind: app
1212
description: |
1313
movie for deepin os.

loong64/linglong.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: "1"
77
package:
88
id: org.deepin.movie
99
name: "deepin-movie"
10-
version: 6.5.3.1
10+
version: 6.5.4.1
1111
kind: app
1212
description: |
1313
movie for deepin os.

src/common/mainwindow.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,9 @@ MainWindow::MainWindow(QWidget *parent)
10541054
m_pDVDHintWid->setAnchorPoint(QPoint(30, 58));
10551055
m_pDVDHintWid->hide();
10561056

1057+
m_backgroundWidget = new QOpenGLWidget(this);
1058+
m_backgroundWidget->hide();
1059+
10571060
#ifdef USE_DXCB
10581061
m_pEventListener = new MainWindowEventListener(this);
10591062
this->windowHandle()->installEventFilter(m_pEventListener);
@@ -5279,5 +5282,8 @@ MainWindow::~MainWindow()
52795282
m_pShortcutViewProcess->deleteLater();
52805283
m_pShortcutViewProcess = nullptr;
52815284
}
5285+
5286+
delete m_backgroundWidget;
5287+
m_backgroundWidget = nullptr;
52825288
}
52835289
#include "mainwindow.moc"

src/common/mainwindow.h

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <DPushButton>
1616
#include <DFloatingMessage>
1717
#include <QDBusAbstractInterface>
18+
#include <QOpenGLWidget>
1819

1920
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
2021
#include <QX11Info>
@@ -597,6 +598,7 @@ protected slots:
597598
bool m_bMaximized; ///全屏前最大化窗口记录
598599
bool m_bHaveFile; ///导入是否包含文件(用于导入文件或文件夹)
599600
DSettingsDialog *m_pDSettingDilog{nullptr};
601+
QOpenGLWidget *m_backgroundWidget {nullptr};
600602
};
601603
};
602604

0 commit comments

Comments
 (0)