Use override

This commit is contained in:
Jonas Kvinge
2020-06-15 21:55:05 +02:00
parent 72ede666d4
commit 651020388d
271 changed files with 1199 additions and 1231 deletions

View File

@@ -51,15 +51,16 @@ class FileView : public QWidget {
public:
explicit FileView(QWidget *parent = nullptr);
~FileView();
~FileView() override;
static const char *kFileFilter;
void SetPath(const QString &path);
void SetTaskManager(TaskManager *task_manager);
void showEvent(QShowEvent*);
void keyPressEvent(QKeyEvent *e);
protected:
void showEvent(QShowEvent*) override;
void keyPressEvent(QKeyEvent *e) override;
signals:
void PathChanged(const QString &path);
@@ -90,8 +91,8 @@ class FileView : public QWidget {
QString undo_path() const { return old_state_.path; }
void undo();
void redo();
void undo() override;
void redo() override;
private:
struct State {