File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ();
You can’t perform that action at this time.
0 commit comments