Skip to content

Commit 81edfd6

Browse files
add-uosdeepin-bot[bot]
authored andcommitted
fix: [pin_screenshots] fix typo and hide window for save dialog
- Fix typo: '锁房比例' -> '缩放比例' in comment - use hide when select folder. log: use hide when select folder bug: https://pms.uniontech.com/bug-view-336643.html
1 parent 91de0fb commit 81edfd6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pin_screenshots/mainwindow.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (C) 2019 ~ 2019 Deepin Technology Co., Ltd.
2-
// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
1+
// Copyright (C) 2019 ~ 2026 Deepin Technology Co., Ltd.
2+
// SPDX-FileCopyrightText: 2022 - 2026 UnionTech Software Technology Co., Ltd.
33
//
44
// SPDX-License-Identifier: GPL-3.0-or-later
55

@@ -53,7 +53,7 @@ void MainWindow::initMainWindow()
5353
setMouseTracking(true);
5454
isLeftPressDown = false;
5555
dir = UP;
56-
//获取屏幕的锁房比例
56+
//获取屏幕的缩放比例
5757
m_pixelRatio = qApp->primaryScreen()->devicePixelRatio();
5858

5959
m_menuController = new MenuController();
@@ -166,7 +166,7 @@ void MainWindow::saveImg()
166166
}
167167
m_lastImagePath = QString("%1/%2.%3").arg(savePath).arg(m_imageName).arg(formatStr);
168168
} else if (m_saveInfo.first == SubToolWidget::FOLDER_CHANGE) {
169-
m_toolBar->setHiden();
169+
this->hide();
170170
qDebug() << "保存到指定位置";
171171
QString saveFileName;
172172
QString imgName = Settings::instance()->getSavePath();

0 commit comments

Comments
 (0)