summaryrefslogtreecommitdiffstats
path: root/tools/jsondb-client/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/jsondb-client/client.cpp')
-rw-r--r--tools/jsondb-client/client.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp
index 60103b15..0f37c61b 100644
--- a/tools/jsondb-client/client.cpp
+++ b/tools/jsondb-client/client.cpp
@@ -229,10 +229,7 @@ Client::~Client()
bool Client::connectToServer()
{
- QString socketName = ::getenv("JSONDB_SOCKET");
mConnection = new QtJsonDb::QJsonDbConnection(this);
- if (!socketName.isEmpty())
- mConnection->setSocketName(socketName);
connect(mConnection, SIGNAL(error(QtJsonDb::QJsonDbConnection::ErrorCode,QString)),
this, SLOT(error(QtJsonDb::QJsonDbConnection::ErrorCode,QString)));