------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. http://bugs.kde.org/show_bug.cgi?id=61904 tim@tjansen.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From tim@tjansen.de 2003-08-01 00:57 ------- Subject: KDE_3_1_BRANCH: kdenetwork/krfb/krfb CVS commit by tjansen: Use QApplication::desktop() to obtain the QDesktopWidget, as recommended in the Qt docs. This will hopefully solve bug 61904. CCMAIL: 61904-done@bugs.kde.org M +2 -2 rfbcontroller.cc 1.46.2.5 --- kdenetwork/krfb/krfb/rfbcontroller.cc #1.46.2.4:1.46.2.5 @@ -280,7 +280,7 @@ PointerEvent::PointerEvent(int b, int _x void PointerEvent::exec() { - static QDesktopWidget desktopWidget; + QDesktopWidget *desktopWidget = QApplication::desktop(); - int screen = desktopWidget.screenNumber(); + int screen = desktopWidget->screenNumber(); if (screen < 0) screen = 0;