From 7b12a18bb964683b857ca2250db3919303a99838 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 3 Apr 2011 20:56:33 +0000 Subject: Wean kdelibs off of the qt_x_*_time static variables git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226986 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kdetrayproxy/kdetrayproxy.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'kdeui/kdetrayproxy') diff --git a/kdeui/kdetrayproxy/kdetrayproxy.cpp b/kdeui/kdetrayproxy/kdetrayproxy.cpp index bf2298fd3..5e798ebab 100644 --- a/kdeui/kdetrayproxy/kdetrayproxy.cpp +++ b/kdeui/kdetrayproxy/kdetrayproxy.cpp @@ -48,8 +48,6 @@ Atom KDETrayProxy::makeSelectionAtom() return XInternAtom( qt_xdisplay(), "_NET_SYSTEM_TRAY_S" + TQCString().setNum( qt_xscreen()), False ); } -extern Time qt_x_time; - void KDETrayProxy::windowAdded( WId w ) { NETWinInfo ni( qt_xdisplay(), w, qt_xrootwin(), NET::WMKDESystemTrayWinFor ); @@ -145,7 +143,7 @@ void KDETrayProxy::dockWindow( Window w, Window owner ) ev.xclient.window = owner; ev.xclient.message_type = atom; ev.xclient.format = 32; - ev.xclient.data.l[ 0 ] = qt_x_time; + ev.xclient.data.l[ 0 ] = GET_QT_X_TIME(); ev.xclient.data.l[ 1 ] = 0; // SYSTEM_TRAY_REQUEST_DOCK ev.xclient.data.l[ 2 ] = w; ev.xclient.data.l[ 3 ] = 0; // unused -- cgit v1.2.1