diff --git a/.gitignore b/.gitignore index aef026624..a3dabe17f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,7 @@ build*/ *.pro.user* -CMakeLists.txt.user +CMakeLists.txt.user* *.DS_Store *.qm diff --git a/frame/item/components/appsnapshot.cpp b/frame/item/components/appsnapshot.cpp index d9bff6767..4e0f5dc20 100644 --- a/frame/item/components/appsnapshot.cpp +++ b/frame/item/components/appsnapshot.cpp @@ -148,7 +148,7 @@ void AppSnapshot::fetchSnapshot() m_snapshot = qimage.copy(left, top, width - left - right, height - top - bottom); } else { - m_snapshot = qimage.copy(); + m_snapshot = qimage; } const auto size = rect().marginsRemoved(QMargins(8, 8, 8, 8)).size();