From 2ba4c6f4617eaade37a0f93b6de7dca2ab714767 Mon Sep 17 00:00:00 2001 From: houchengqiu Date: Wed, 6 Dec 2023 11:15:24 +0800 Subject: [PATCH] fix: Resolve the issue of entering slide mode after viewing images and exiting without a title bar Resolve the issue of entering slide mode after viewing images and exiting without a title bar Log: Resolve the issue of entering slide mode after viewing images and exiting without a title bar Bug: https://pms.uniontech.com/bug-view-232641.html --- src/album/mainwindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/album/mainwindow.cpp b/src/album/mainwindow.cpp index 43775d6c..130916c0 100644 --- a/src/album/mainwindow.cpp +++ b/src/album/mainwindow.cpp @@ -2375,9 +2375,7 @@ void MainWindow::onAddImageBtnClicked(bool checked) void MainWindow::onHideFromFullScreen() { - if (VIEW_IMAGE != m_backIndex_fromFullScreen) { - setTitleBarHideden(false); - } + setTitleBarHideden(false); m_pCenterWidget->setCurrentIndex(m_backIndex); }