From 3333b71a3d6e9a5f318d1564ce88a2b92ca4fc41 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 23 Oct 2010 17:28:08 +0000 Subject: [PATCH] . and - are not permitted as table names svn path=/trunk/KDE/kdelibs/; revision=1189004 --- private/storage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/storage.cpp b/private/storage.cpp index bccdba0f4..e52f978b6 100644 --- a/private/storage.cpp +++ b/private/storage.cpp @@ -168,6 +168,9 @@ Storage::Storage(QObject* parent) : Plasma::Service(parent) } } + m_clientName = m_clientName.replace('.', "_"); + m_clientName = m_clientName.replace('-', "_"); + setName("storage"); }