#!/bin/bash

#
# This script is part of the KGtk package.
#
# (C) Craig Drummond, 2007
#
# Craig.Drummond@lycos.co.uk
#
# --
# Released under the GPL v2 or later
# --
#
# Wrapper script for kdialogd that removes any LD_PRELOAD. This stops
# KDialogD from trying to connect to itself!
#

LD_PRELOAD=

if [ "$KDE_SESSION_VERSION" == "" ] || [ $KDE_SESSION_VERSION -lt 4 ] ; then
    kdialogd3
else
    kdialogd4
fi
