]> vaikene.ee Git - evaf/blobdiff - src/apps/PswGen/Storage/module.cpp
Added the name attribute to the eVaf::PswGen::Storage::Data class.
[evaf] / src / apps / PswGen / Storage / module.cpp
index e867a0e7d21f6d138e841c5268185a5157a7ce9b..b062b305453975aaef87fee517f455a9efe6d6c0 100644 (file)
@@ -231,7 +231,7 @@ bool StorageImpl::loadData()
 
     while (q.next()) {
         QString name = q.value(0).toString();
-        QExplicitlySharedDataPointer<Storage::Data> data(new Storage::Data(q.value(1).toInt(), uint(q.value(2).toInt())));
+        QExplicitlySharedDataPointer<Storage::Data> data(new Storage::Data(name, q.value(1).toInt(), uint(q.value(2).toInt())));
         mData.insert(name, data);
     }