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:
@@ -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];
|
||||
|
@@ -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 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user