forward port r1214358
svn path=/trunk/KDE/kdelibs/; revision=1214362
This commit is contained in:
parent
904ad74970
commit
c16bfacb7b
@ -43,7 +43,7 @@ public:
|
||||
void ref()
|
||||
{
|
||||
if (m_ref == 0) {
|
||||
m_db = QSqlDatabase::addDatabase("QSQLITE", QString("plasma-storage-%1").arg((ulong)this));
|
||||
m_db = QSqlDatabase::addDatabase("QSQLITE", QString("plasma-storage-%1").arg((quintptr)this));
|
||||
m_db.setDatabaseName(KStandardDirs::locateLocal("appdata", "plasma-storage.db"));
|
||||
}
|
||||
//Q_ASSERT(db.isValid());
|
||||
|
Loading…
Reference in New Issue
Block a user