Fix a number of accidental tqStatus string conversions

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 4d088ec3f9
commit 3f61236394

@ -45,7 +45,7 @@ HostList::HostList( TQWidget *parent, const char *name )
addColumn( i18n("Audio" ) );
addColumn( i18n("Volume" ), 113 );
header()->setResizeEnabled(false, 3);
addColumn( i18n("tqStatus" ) );
addColumn( i18n("Status" ) );
addColumn( i18n("Playback" ) );
setColumnAlignment( HostListItem::Hostname, TQt::AlignCenter );

@ -326,7 +326,7 @@ static void TRMNotifyCallback(tunepimp_t pimp, void */*data*/, TPCallbackEnum ty
track_t track = tp_GetTrack(pimp, fileId);
TPFiletqStatus status = tr_GettqStatus(track);
#endif
//debug() << "tqStatus is: " << status << endl;
//debug() << "Status is: " << status << endl;
switch(status) {
case eRecognized:

@ -147,7 +147,7 @@ module Mongrel
# message in the status we have to do a bit of parsing.
def status
if not @status
stat = @head["tqStatus"]
stat = @head["Status"]
stat = stat.split(' ')[0] if stat
@status = stat || "200"

Loading…
Cancel
Save