[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdelibs/solid/solid/backends/hal
From: David Faure <faure () kde ! org>
Date: 2007-07-20 16:16:26
Message-ID: 200707201816.27372.faure () kde ! org
[Download RAW message or body]
On Friday 20 July 2007, Allen Winter wrote:
> On Friday 20 July 2007 9:06:21 am Laurent Montel wrote:
> > SVN commit 690236 by mlaurent:
> >
> > fix compile under windows
> >
> > M +1 -1 halstorageaccess.cpp
> >
> >
> > --- trunk/KDE/kdelibs/solid/solid/backends/hal/halstorageaccess.cpp #690235:690236
> > @@ -150,7 +150,7 @@
> > QWidget *activeWindow = QApplication::activeWindow();
> > uint wId = 0;
> > if (activeWindow!=0) {
> > - wId = activeWindow->winId();
> > + wId = (uint)activeWindow->winId();
> <static_cast> ??
Both are wrong anyway. winId is a pointer, not an int, on Windows, isn't it?
What does this code do with the wId ?
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic