Add a default destructor
This commit is contained in:
		
					parent
					
						
							
								114df7aa31
							
						
					
				
			
			
				commit
				
					
						7dbffa0271
					
				
			
		
					 2 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -55,6 +55,10 @@ DanbooruTag::DanbooruTag(const QVariantMap &postData, QObject *parent):
 | 
			
		|||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
DanbooruTag::~DanbooruTag()
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int DanbooruTag::id() const
 | 
			
		||||
{
 | 
			
		||||
    return m_id;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -62,6 +62,7 @@ private:
 | 
			
		|||
 | 
			
		||||
public:
 | 
			
		||||
    DanbooruTag(const QVariantMap &postData, QObject *parent = 0);
 | 
			
		||||
    ~DanbooruTag();
 | 
			
		||||
    int id() const;
 | 
			
		||||
    int count() const;
 | 
			
		||||
    const QString name() const;
 | 
			
		||||
| 
						 | 
				
			
			@ -77,4 +78,5 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(TagTypes)
 | 
			
		|||
 | 
			
		||||
Q_DECLARE_METATYPE(Danbooru::DanbooruTag *)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif // DANBOORUTAG_H
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue