From 3ef8f093d35518cc22880154d0c0e774e6403b24 Mon Sep 17 00:00:00 2001 From: borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com> Date: Thu, 19 Feb 2026 06:03:53 -0600 Subject: [PATCH] fix build issue in debug mode and cleanup wording (#4525) * fix build issue in debug mode and cleanup wording * clang format --- src/utils/screengrabber.cpp | 9 ++++----- src/widgets/capturelauncher.cpp | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/utils/screengrabber.cpp b/src/utils/screengrabber.cpp index fde6d3e00e..d5557f6961 100644 --- a/src/utils/screengrabber.cpp +++ b/src/utils/screengrabber.cpp @@ -504,13 +504,12 @@ QPixmap ScreenGrabber::cropToMonitor(const QPixmap& fullScreenshot, targetPhysicalHeight, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); - } #ifdef FLAMESHOT_DEBUG_CAPTURE - qDebug() << tr("Scaling screenshot to: %1 %2") - .arg(targetPhysicalWidth) - .arg(targetPhysicalHeight); + qDebug() << tr("Scaling screenshot to: %1 %2") + .arg(targetPhysicalWidth) + .arg(targetPhysicalHeight); #endif - + } #endif // Cropped region should be at target monitor's native DPR cropped.setDevicePixelRatio(targetDpr); diff --git a/src/widgets/capturelauncher.cpp b/src/widgets/capturelauncher.cpp index 112d113f02..91794caa2a 100644 --- a/src/widgets/capturelauncher.cpp +++ b/src/widgets/capturelauncher.cpp @@ -39,7 +39,7 @@ CaptureLauncher::CaptureLauncher(QDialog* parent) 2, tr("Full Screen (Current Display)"), CaptureRequest::FULLSCREEN_MODE); #else ui->captureType->insertItem( - 2, tr("Full Screen (All Monitors)"), CaptureRequest::FULLSCREEN_MODE); + 2, tr("Full Screen"), CaptureRequest::FULLSCREEN_MODE); const QList screens = QGuiApplication::screens(); for (int i = 0; i < screens.size(); ++i) { QScreen* screen = screens[i];