Commit 8921e59d authored by Rohit Yadav's avatar Rohit Yadav

Cosmetics: Fix typos in application and organization name.

Use single macro for preprocessing the same things in line.
parent d07fdccb
......@@ -293,7 +293,7 @@ IF( APPLE )
SET(CPACK_COMPONENT_LIBRARIES_HIDDEN TRUE)
# Bundle Properties
SET(MACOSX_BUNDLE_BUNDLE_NAME vlmc)
SET(MACOSX_BUNDLE_BUNDLE_NAME VLMC)
SET(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION})
SET(MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION})
SET(MACOSX_BUNDLE_LONG_VERSION_STRING "Version ${PROJECT_VERSION}")
......
......@@ -58,8 +58,8 @@ VLMCmain( int argc, char **argv )
XInitThreads();
#endif
QApplication app( argc, argv );
app.setApplicationName( "vlmc" );
app.setOrganizationName( "vlmc" );
app.setApplicationName( "VLMC" );
app.setOrganizationName( "VideoLAN" );
app.setOrganizationDomain( "vlmc.org" );
app.setApplicationVersion( PROJECT_VERSION );
......@@ -72,7 +72,7 @@ VLMCmain( int argc, char **argv )
LanguageHelper::getInstance()->languageChanged(
s.value( "general/VLMCLang", "default" ) );
#ifdef Q_WS_WIN
#if defined( Q_WS_WIN )
QFile css(":/styles/windows");
if ( css.open( QIODevice::ReadOnly | QIODevice::Text ) )
......@@ -81,9 +81,7 @@ VLMCmain( int argc, char **argv )
if ( styleSheet != "" )
app.setStyleSheet( styleSheet );
}
#endif
#if defined(Q_WS_WIN)
// Creating the color palette
QPalette p;
p.setColor( QPalette::WindowText, QColor( 255, 255, 255, 255 ) );
......
......@@ -41,8 +41,8 @@ int
VLMCmain( int argc, char **argv )
{
QCoreApplication app( argc, argv );
app.setApplicationName( "vlmc" );
app.setOrganizationName( "vlmc" );
app.setApplicationName( "VLMC" );
app.setOrganizationName( "VideoLAN" );
app.setOrganizationDomain( "vlmc.org" );
app.setApplicationVersion( PROJECT_VERSION );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment