diff options
Diffstat (limited to 'examples/network/torrent/mainwindow.cpp')
-rw-r--r-- | examples/network/torrent/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/network/torrent/mainwindow.cpp b/examples/network/torrent/mainwindow.cpp index 2b3d3e8b3a..efdf187174 100644 --- a/examples/network/torrent/mainwindow.cpp +++ b/examples/network/torrent/mainwindow.cpp @@ -67,8 +67,8 @@ signals: void fileDropped(const QString &fileName); protected: - void dragMoveEvent(QDragMoveEvent *event) Q_DECL_OVERRIDE; - void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE; + void dragMoveEvent(QDragMoveEvent *event) override; + void dropEvent(QDropEvent *event) override; #endif }; @@ -80,7 +80,7 @@ public: inline TorrentViewDelegate(MainWindow *mainWindow) : QItemDelegate(mainWindow) {} void paint(QPainter *painter, const QStyleOptionViewItem &option, - const QModelIndex &index ) const Q_DECL_OVERRIDE + const QModelIndex &index ) const override { if (index.column() != 2) { QItemDelegate::paint(painter, option, index); |