Skip to content

Commit

Permalink
fix: fix error (#580)
Browse files Browse the repository at this point in the history
fix error
  • Loading branch information
JWWTSL authored Dec 7, 2024
1 parent ae5e9b4 commit 97dc333
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-screen-recorder (6.5.1.2) unstable; urgency=medium

* changelog 6.5.1.2.

-- tianshilin <tianshilin@uniontech.com> Sat, 07 Dec 2024 10:11:01 +0800

deepin-screen-recorder (6.5.0) unstable; urgency=medium

* feat: [translation]add transifex config(Task: 361363)
Expand Down
6 changes: 5 additions & 1 deletion src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,11 @@ void MainWindow::updateToolBarPos()
initDynamicLibPath();

// 检测是否是锁频状态下再打开截图
checkIsLockScreen();

// TODO: treeland禁用
if (!(Utils::isWaylandMode || QGuiApplication::platformName().startsWith("wayland", Qt::CaseInsensitive))) {
checkIsLockScreen();
}
}

// 延迟初始化相机,仅在切换到录屏界面时执行初始化
Expand Down

0 comments on commit 97dc333

Please sign in to comment.