--- a/src/libraries.cpp Tue Jan 26 12:21:35 2021 +0200 +++ b/src/libraries.cpp Tue Jan 26 18:02:17 2021 +0200 @@ -376,7 +376,7 @@ QString path; int role; QDataStream& result = stream >> path >> role; - library.path = path; + library.path.setPath(path); library.role = static_cast<Library::Role>(role); return result; }