1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Fixes for style.

This commit is contained in:
Alejandro Wainzinger
2011-06-02 18:53:36 -07:00
parent 6500af65c0
commit e5cc13ac57
2 changed files with 29 additions and 30 deletions

View File

@@ -20,7 +20,8 @@
#import <ScriptingBridge/ScriptingBridge.h>
#import "adium.h"
void script( const char* status )
void
script( const char* status )
{
NSString *stat = [NSString stringWithUTF8String:status];
NSAppleScript *appleScript = [[NSAppleScript alloc] initWithSource:stat];

View File

@@ -34,7 +34,6 @@ static void setStatus(const QString &status)
adiumStatus.append("\"\nend tell\n");
const char* scriptstr = adiumStatus.toUtf8();
script( scriptstr );
}
using namespace Tomahawk::InfoSystem;
@@ -152,4 +151,3 @@ void AdiumPlugin::audioResumed( const QVariant &input )
// TODO: audio resumed, so push update status to Adium with playing track
audioStarted( input );
}