mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
libs: initialize variable in ProcessModelPrivate::queryForAndUpdateAllXWindows()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a001c6c517
commit
d459ee20a8
2 changed files with 2 additions and 2 deletions
|
@ -410,7 +410,7 @@ void ProcessModelPrivate::queryForAndUpdateAllXWindows() {
|
|||
// qDebug() << "updating xres info:" << QTime::currentTime().toString("hh:mm:ss.zzz");
|
||||
updateXResClientData();
|
||||
Window *children, dummy;
|
||||
unsigned int count;
|
||||
unsigned int count = 0;
|
||||
Status result = XQueryTree(QX11Info::display(), QX11Info::appRootWindow(), &dummy, &dummy, &children, &count);
|
||||
if(!result)
|
||||
return;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include <QVariant>
|
||||
#include <QHash>
|
||||
#include <QSet>
|
||||
#include <QtCore/qdatetime.h>
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
|
|
Loading…
Add table
Reference in a new issue