mirror of
https://github.com/YACReader/yacreader
synced 2025-07-22 15:04:40 -04:00
Added copy constructors and operator= to folder and comicdb, LibraryItem has to be a QObject, and QObject disables copy.
This commit is contained in:
@ -3,14 +3,16 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class LibraryItem
|
||||
class LibraryItem : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
virtual bool isDir() = 0;
|
||||
LibraryItem & operator=(const LibraryItem & other);
|
||||
QString name;
|
||||
QString path;
|
||||
qulonglong parentId;
|
||||
qulonglong id;
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user