. and - are not permitted as table names

svn path=/trunk/KDE/kdelibs/; revision=1189004
This commit is contained in:
Marco Martin 2010-10-23 17:28:08 +00:00
parent 9fcf5d4980
commit 3333b71a3d

View File

@ -168,6 +168,9 @@ Storage::Storage(QObject* parent) : Plasma::Service(parent)
}
}
m_clientName = m_clientName.replace('.', "_");
m_clientName = m_clientName.replace('-', "_");
setName("storage");
}