src/linetypes/comment.h

Sat, 05 Mar 2022 12:47:10 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 05 Mar 2022 12:47:10 +0200
changeset 159
1a04364d20b5
parent 141
185eb297dc1e
permissions
-rw-r--r--

fix crash when loading a file
`object` is moved so we cannot access it after moving

#pragma once
#include "object.h"
#include "metacommand.h"

namespace ldraw
{
	class Comment;
}

class ldraw::Comment : public MetaCommand
{
	using MetaCommand::MetaCommand;
	QFont textRepresentationFont() const override;
	Type typeIdentifier() const override;
	QString toLDrawCode() const override;
};

mercurial