Skip to content

Commit 3ef8f09

Browse files
fix build issue in debug mode and cleanup wording (flameshot-org#4525)
* fix build issue in debug mode and cleanup wording * clang format
1 parent 53d4da8 commit 3ef8f09

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/utils/screengrabber.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -504,13 +504,12 @@ QPixmap ScreenGrabber::cropToMonitor(const QPixmap& fullScreenshot,
504504
targetPhysicalHeight,
505505
Qt::IgnoreAspectRatio,
506506
Qt::SmoothTransformation);
507-
}
508507
#ifdef FLAMESHOT_DEBUG_CAPTURE
509-
qDebug() << tr("Scaling screenshot to: %1 %2")
510-
.arg(targetPhysicalWidth)
511-
.arg(targetPhysicalHeight);
508+
qDebug() << tr("Scaling screenshot to: %1 %2")
509+
.arg(targetPhysicalWidth)
510+
.arg(targetPhysicalHeight);
512511
#endif
513-
512+
}
514513
#endif
515514
// Cropped region should be at target monitor's native DPR
516515
cropped.setDevicePixelRatio(targetDpr);

src/widgets/capturelauncher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ CaptureLauncher::CaptureLauncher(QDialog* parent)
3939
2, tr("Full Screen (Current Display)"), CaptureRequest::FULLSCREEN_MODE);
4040
#else
4141
ui->captureType->insertItem(
42-
2, tr("Full Screen (All Monitors)"), CaptureRequest::FULLSCREEN_MODE);
42+
2, tr("Full Screen"), CaptureRequest::FULLSCREEN_MODE);
4343
const QList<QScreen*> screens = QGuiApplication::screens();
4444
for (int i = 0; i < screens.size(); ++i) {
4545
QScreen* screen = screens[i];

0 commit comments

Comments
 (0)