mirror of
https://github.com/YACReader/yacreader
synced 2025-12-07 09:52:53 -05:00
Fixed data base info retrieving through DBHelper, value(QString) should never be used because it is really slow. All items sorting should be done at db level or using std::sort.
This commit is contained in:
12
common/library_item.cpp
Normal file
12
common/library_item.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
#include "library_item.h"
|
||||
|
||||
LibraryItem &LibraryItem::operator=(const LibraryItem &other)
|
||||
{
|
||||
this->name = other.name;
|
||||
this->path = other.path;
|
||||
this->parentId = other.parentId;
|
||||
this->id = other.id;
|
||||
|
||||
return *this;
|
||||
}
|
||||
Reference in New Issue
Block a user