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

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser
2012-12-23 05:55:34 +01:00
parent 12bea3708b
commit 394bda7aca
4 changed files with 14 additions and 12 deletions

View File

@@ -18,11 +18,11 @@
#include "CrashReporter.h"
#include <QTranslator>
#include <iostream>
#include "utils/TomahawkUtils.h"
#include <QTranslator>
#include <iostream>
const char* k_usage =
"Usage:\n"
@@ -37,7 +37,6 @@ int main( int argc, char* argv[] )
QCoreApplication::setOrganizationDomain( "tomahawk-player.org" );
QApplication app( argc, argv );
TomahawkUtils::installTranslator( &app );
if ( app.arguments().size() != 4 )

View File

@@ -18,12 +18,12 @@
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
#include "utils/TomahawkUtils.h"
#include "TomahawkVersion.h"
#include "config.h"
#include "TomahawkSettings.h"
#include "utils/TomahawkUtils.h"
#include "utils/Logger.h"
#include "Source.h"
#include "BinaryExtractWorker.h"
#include "SharedTimeLine.h"
@@ -35,7 +35,6 @@
#include <quazip.h>
#include <quazipfile.h>
#include <QNetworkConfiguration>
#include <QNetworkAccessManager>
#include <QNetworkProxy>
@@ -62,6 +61,8 @@
#include <QtCrypto>
#endif
#include "Logger.h"
namespace TomahawkUtils
{
static quint64 s_infosystemRequestId = 0;
@@ -774,6 +775,7 @@ crash()
*a = 1;
}
void
installTranslator( QObject* parent )
{
@@ -813,6 +815,7 @@ installTranslator(QObject* parent)
QCoreApplication::installTranslator( translator );
}
bool
verifyFile( const QString& filePath, const QString& signature )
{

View File

@@ -169,6 +169,8 @@ namespace TomahawkUtils
DLLEXPORT QDir appDataDir();
DLLEXPORT QDir appLogDir();
DLLEXPORT void installTranslator( QObject* parent );
DLLEXPORT QString timeToString( int seconds );
DLLEXPORT QString ageToString( const QDateTime& time, bool appendAgoString = false );
DLLEXPORT QString filesizeToString( unsigned int size );
@@ -212,8 +214,6 @@ namespace TomahawkUtils
DLLEXPORT QList< Tomahawk::query_ptr > mergePlaylistChanges( const QList< Tomahawk::query_ptr >& orig, const QList< Tomahawk::query_ptr >& newTracks, bool& changed );
DLLEXPORT void crash();
DLLEXPORT void installTranslator(QObject *parent);
}
#endif // TOMAHAWKUTILS_H