Browse Source

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 11 years ago
parent
commit
3f61236394
  1. 2
      amarok/src/engine/nmm/HostList.cpp
  2. 2
      amarok/src/ktrm.cpp
  3. 2
      amarok/src/mediadevice/daap/mongrel/lib/mongrel/cgi.rb

2
amarok/src/engine/nmm/HostList.cpp

@ -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 );

2
amarok/src/ktrm.cpp

@ -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:

2
amarok/src/mediadevice/daap/mongrel/lib/mongrel/cgi.rb

@ -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