Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7f6fa41b authored by Albert Astals Cid's avatar Albert Astals Cid

Mark override members as such

parent ecb78121
......@@ -44,7 +44,7 @@ public:
OperationRunner(QObject* parent, OperationStack& ostack);
public:
void run();
void run() override;
qint32 numJobs() const;
qint32 numOperations() const;
qint32 numProgressSub() const;
......
......@@ -142,11 +142,11 @@ protected:
m_Device = &d;
}
void paintEvent(QPaintEvent* event);
void resizeEvent(QResizeEvent* event);
void mousePressEvent(QMouseEvent* event);
void mouseMoveEvent(QMouseEvent* event);
void mouseReleaseEvent(QMouseEvent* event);
void paintEvent(QPaintEvent* event) override;
void resizeEvent(QResizeEvent* event) override;
void mousePressEvent(QMouseEvent* event) override;
void mouseMoveEvent(QMouseEvent* event) override;
void mouseReleaseEvent(QMouseEvent* event) override;
PartWidget& partWidget() {
Q_ASSERT(m_PartWidget);
......
......@@ -64,8 +64,8 @@ public:
void setFileSystemColorCode( const std::vector<QColor>& colorCode );
protected:
void paintEvent(QPaintEvent* event);
void resizeEvent(QResizeEvent* event);
void paintEvent(QPaintEvent* event) override;
void resizeEvent(QResizeEvent* event) override;
QColor activeColor(const QColor& col) const;
......
......@@ -29,7 +29,7 @@
class runcmd : public QThread {
public:
void run()
void run() override
{
ExternalCommand blkidCmd(QStringLiteral("blkid"), {});
blkidCmd.run();
......@@ -41,7 +41,7 @@ void run()
class runcmd2 : public QThread {
public:
void run()
void run() override
{
ExternalCommand lsblkCmd(QStringLiteral("lsblk"), { QStringLiteral("--nodeps"), QStringLiteral("--json") });
lsblkCmd.run();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment