forked from qt-creator/qt-creator
Add override to IDocument hierarchy
Change-Id: I6884f59fe0f06e380254c1f8076dd561d9df4ee3 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -170,12 +170,12 @@ class ProFileDocument : public TextDocument
|
||||
{
|
||||
public:
|
||||
ProFileDocument();
|
||||
QString defaultPath() const;
|
||||
QString suggestedFileName() const;
|
||||
QString defaultPath() const override;
|
||||
QString suggestedFileName() const override;
|
||||
|
||||
// qmake project files doesn't support UTF8-BOM
|
||||
// If the BOM would be added qmake would fail and QtCreator couldn't parse the project file
|
||||
bool supportsUtf8Bom() { return false; }
|
||||
bool supportsUtf8Bom() override { return false; }
|
||||
};
|
||||
|
||||
ProFileDocument::ProFileDocument()
|
||||
|
||||
Reference in New Issue
Block a user