Правки предупреждений
This commit is contained in:
@ -16,12 +16,12 @@ int main( int argc, char** argv )
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
QCoreApplication::setApplicationName( CMLIB_PROJECT_NAME );
|
||||
QCoreApplication::setApplicationName( QStringLiteral( CMLIB_PROJECT_NAME ) );
|
||||
MF::Paths* paths = MF::Paths::getInstance();
|
||||
|
||||
paths->init( CMLIB_PROJECT_NAME, "conf" );
|
||||
paths->init( QStringLiteral( CMLIB_PROJECT_NAME ), QStringLiteral( "conf" ) );
|
||||
paths->makeDefaultDirectories();
|
||||
paths->findConfigFile( "test" );
|
||||
paths->findConfigFile( QStringLiteral( "test" ) );
|
||||
|
||||
return( 0 );
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ int main( int argc, char** argv )
|
||||
MQ::QTranslatorsList tl;
|
||||
|
||||
qDebug() << QObject::tr( "Yes" );
|
||||
MQ::append_translators( tl, "example-qt-translators" );
|
||||
MQ::append_translators( tl, QStringLiteral( "example-qt-translators" ) );
|
||||
qDebug() << QObject::tr( "Yes" );
|
||||
|
||||
return( 0 );
|
||||
|
Reference in New Issue
Block a user