Skip to content

Commit

Permalink
Remove redundant constructor and an override destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed May 26, 2022
1 parent dffee09 commit 92b856f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/library/parsercsv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ bool isColumnExported(BaseSqlTableModel* pPlaylistTableModel, int column) {

} // namespace

ParserCsv::ParserCsv()
: Parser() {
}

QList<QString> ParserCsv::parse(const QString& sFilename) {
QFile file(sFilename);
QString basepath = sFilename.section('/', 0, -2);
Expand Down
4 changes: 2 additions & 2 deletions src/library/parsercsv.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
class ParserCsv : public Parser {
Q_OBJECT
public:
ParserCsv();
~ParserCsv() override = default;

QList<QString> parse(const QString&);
QList<QString> parse(const QString&) override;
static bool writeCSVFile(
const QString& file,
BaseSqlTableModel* pPlaylistTableModel,
Expand Down

0 comments on commit 92b856f

Please sign in to comment.