OSDN Git Service

Small coding style cleanup
authorTobias Hunger <tobias.hunger@nokia.com>
Fri, 21 Oct 2011 09:41:20 +0000 (09:41 +0000)
committerTobias Hunger <tobias.hunger@nokia.com>
Fri, 21 Oct 2011 09:44:36 +0000 (11:44 +0200)
Change-Id: I4b7a3dbd58cb52f9c6245ed59be2b1be8c98f66d
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
src/plugins/git/gitsubmiteditor.h
src/plugins/perforce/perforcesubmiteditor.h

index 859c01c..28099a8 100644 (file)
@@ -61,7 +61,7 @@ signals:
     void diff(const QStringList &unstagedFiles, const QStringList &stagedFiles);
 
 protected:
-    virtual QByteArray fileContents() const;
+    QByteArray fileContents() const;
 
 private slots:
     void slotDiffSelected(const QStringList &);
index 94a0db2..13c778e 100644 (file)
@@ -69,8 +69,8 @@ public:
     static QString fileFromChangeLine(const QString &line);
 
 protected:
-    virtual QByteArray fileContents() const;
-    virtual bool setFileContents(const QString &contents);
+    QByteArray fileContents() const;
+    bool setFileContents(const QString &contents);
 
 private:
     inline PerforceSubmitEditorWidget *submitEditorWidget();