[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [digikam] utilities/slideshow: compile under MXE
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2016-05-17 6:58:57
Message-ID: E1b2Yy1-0006nQ-7e () scm ! kde ! org
[Download RAW message or body]

Git commit 6716381f0eab5febcd84323ab611fb2cb6e86499 by Gilles Caulier.
Committed on 17/05/2016 at 06:58.
Pushed by cgilles into branch 'master'.

compile under MXE

M  +2    -2    utilities/slideshow/slideosd.cpp

http://commits.kde.org/digikam/6716381f0eab5febcd84323ab611fb2cb6e86499

diff --git a/utilities/slideshow/slideosd.cpp b/utilities/slideshow/slideosd.cpp
index dae0484..ea53217 100644
--- a/utilities/slideshow/slideosd.cpp
+++ b/utilities/slideshow/slideosd.cpp
@@ -112,9 +112,9 @@ SlideOSD::SlideOSD(const SlideShowSettings& settings, SlideShow* const parent)
 #ifdef Q_OS_WIN32
     // Don't show the window in the taskbar.  Qt::ToolTip does this too, but it
     // adds an extra ugly shadow.
-    int ex_style = GetWindowLong(winId(), GWL_EXSTYLE);
+    int ex_style = GetWindowLong((HWND)winId(), GWL_EXSTYLE);
     ex_style    |= WS_EX_NOACTIVATE;
-    SetWindowLong(winId(), GWL_EXSTYLE, ex_style);
+    SetWindowLong((HWND)winId(), GWL_EXSTYLE, ex_style);
 #endif
 
     d->settings   = settings;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic