* Fix OpenWith on Windows (#1309) * Clang-format and function name fix * Clang-format
This commit is contained in:
@@ -118,9 +118,12 @@ CaptureWidget::CaptureWidget(const CaptureRequest& req,
|
||||
m_context.origScreenshot = m_context.screenshot;
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
// Call cmake with -DFLAMESHOT_DEBUG_CAPTURE=ON to enable easier debugging
|
||||
#if !defined(FLAMESHOT_DEBUG_CAPTURE)
|
||||
setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint |
|
||||
Qt::SubWindow // Hides the taskbar icon
|
||||
);
|
||||
#endif
|
||||
|
||||
for (QScreen* const screen : QGuiApplication::screens()) {
|
||||
QPoint topLeftScreen = screen->geometry().topLeft();
|
||||
|
||||
Reference in New Issue
Block a user