if -> ifdef
This commit is contained in:
DatGuy1 2018-06-11 22:06:31 +03:00 committed by fourtf
parent 2e8b168f19
commit b2ca38b479

View file

@ -1,7 +1,7 @@
#include "widgets/logindialog.hpp" #include "widgets/logindialog.hpp"
#include "common.hpp" #include "common.hpp"
#include "util/urlfetch.hpp" #include "util/urlfetch.hpp"
#if USEWINSDK #ifdef USEWINSDK
#include <Windows.h> #include <Windows.h>
#endif #endif
@ -190,7 +190,7 @@ void AdvancedLoginWidget::refreshButtons()
LoginWidget::LoginWidget() LoginWidget::LoginWidget()
{ {
#if USEWINSDK #ifdef USEWINSDK
::SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW); ::SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
#endif #endif