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