From 2e8b168f19def657f583e559c2a40e5c05a2b122 Mon Sep 17 00:00:00 2001 From: DatGuy1 Date: Sat, 9 Jun 2018 21:58:36 +0300 Subject: [PATCH] FMT_USE_WINDOWS_H -> USEWINSDK --- src/widgets/logindialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/logindialog.cpp b/src/widgets/logindialog.cpp index f4ed4841f..18acaf2be 100644 --- a/src/widgets/logindialog.cpp +++ b/src/widgets/logindialog.cpp @@ -1,7 +1,7 @@ #include "widgets/logindialog.hpp" #include "common.hpp" #include "util/urlfetch.hpp" -#if FMT_USE_WINDOWS_H +#if USEWINSDK #include #endif @@ -190,7 +190,7 @@ void AdvancedLoginWidget::refreshButtons() LoginWidget::LoginWidget() { - #if FMT_USE_WINDOWS_H + #if USEWINSDK ::SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW); #endif