Правки предупреждений

This commit is contained in:
2020-04-05 17:28:55 +03:00
parent c38781b2e7
commit ce596d8113
4 changed files with 17 additions and 17 deletions

View File

@ -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 );
}

View File

@ -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 );