Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
fix for Qt 5.2 compat & update ubuntu script
Browse files Browse the repository at this point in the history
  • Loading branch information
bylee20 committed May 2, 2015
1 parent a323da3 commit 293d32c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions debian/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#! /bin/bash

ver=$1
distro=$2
rel=$3
ver=$(git describe | sed 's/v\([0-9]\+.[0-9]\+.[0-9]\+\).*/\1/')
distro=$1
rel=$2

if [ -z "$distro" ] || [ -z "$ver" ]; then
echo "Usage: $0 <version> <distro> [<rel>]"
if [ -z "$distro" ]; then
echo "Usage: $0 <distro> [<rel>]"
exit
fi

Expand Down Expand Up @@ -72,4 +72,4 @@ sed -i "s/@bdeps@/$bdeps/g" control
sed -i "s/@deps@/$deps/g" control
sed -i "s/@opts@/$opts/g" rules

debuild -S -sa
debuild -S -sa
4 changes: 2 additions & 2 deletions src/bomi/player/mrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ auto Mrl::toCueTrack() const -> CueTrack
{
if (!isCueTrack())
return CueTrack();
const auto strs = m_loc.midRef(6).split(u":;"_q);
const auto strs = m_loc.mid(6).split(u":;"_q);
if (strs.size() != 4)
return CueTrack();
CueTrack track;
track.file = strs[1].toString();
track.file = strs[1];
track.start = strs[2].toInt();
track.end = strs[3].toInt();
return track;
Expand Down

0 comments on commit 293d32c

Please sign in to comment.