Skip to content

Commit

Permalink
unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviotordini committed Oct 8, 2020
1 parent 98ab60a commit c5eb408
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/ytjs/ytjschannelsource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@

namespace {

int parseDuration(const QString &s) {
static const QTime zeroTime(0, 0);
QTime time = QTime::fromString(s, QStringLiteral("hh:mm:ss"));
return zeroTime.secsTo(time);
}

QString parseChannelId(const QString &channelUrl) {
int pos = channelUrl.lastIndexOf('/');
if (pos >= 0) return channelUrl.mid(pos + 1);
return QString();
}

QDateTime parsePublishedText(const QString &s) {
int num = 0;
const auto parts = s.splitRef(' ');
Expand Down

0 comments on commit c5eb408

Please sign in to comment.