diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-29 00:07:20 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-29 00:07:20 +0000 |
commit | 9ee4144afedd77175dd068e60ef09399c684dcee (patch) | |
tree | ea89d4e804b738146dca0bbded08cdc06d9817dd /kdecore/network/kresolverstandardworkers.cpp | |
parent | 0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (diff) | |
download | tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.tar.gz tdelibs-9ee4144afedd77175dd068e60ef09399c684dcee.zip |
Restored qt_cast()
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/network/kresolverstandardworkers.cpp')
-rw-r--r-- | kdecore/network/kresolverstandardworkers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kdecore/network/kresolverstandardworkers.cpp b/kdecore/network/kresolverstandardworkers.cpp index 08bd57121..185879841 100644 --- a/kdecore/network/kresolverstandardworkers.cpp +++ b/kdecore/network/kresolverstandardworkers.cpp @@ -667,7 +667,7 @@ KResolver::ErrorCodes KStandardWorker::addUnix() if (!m_encodedName.isEmpty()) return KResolver::AddrFamily; // non local hostname - if (protocol() || static_cast<const char *>(protocolName())) + if (protocol() || !protocolName().isEmpty()) return KResolver::BadFlags; // cannot have Unix sockets with protocols TQString pathname = serviceName(); |