diff options
Diffstat (limited to 'tdesu/kcookie.cpp')
-rw-r--r-- | tdesu/kcookie.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdesu/kcookie.cpp b/tdesu/kcookie.cpp index 63013dae0..038715c8d 100644 --- a/tdesu/kcookie.cpp +++ b/tdesu/kcookie.cpp @@ -33,7 +33,7 @@ KCookie::KCookie() { -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 getXCookie(); #endif setDcopTransport("local"); @@ -85,7 +85,7 @@ void KCookie::getXCookie() char buf[1024]; FILE *f; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 m_Display = getenv("DISPLAY"); #else m_Display = getenv("QWS_DISPLAY"); @@ -95,7 +95,7 @@ void KCookie::getXCookie() kdError(900) << k_lineinfo << "$DISPLAY is not set.\n"; return; } -#ifdef Q_WS_X11 // No need to mess with X Auth stuff +#ifdef TQ_WS_X11 // No need to mess with X Auth stuff TQCString disp = m_Display; if (!memcmp(disp.data(), "localhost:", 10)) disp.remove(0, 9); |