[vlmc-devel] Cosmetics: Fix typos in application and organization name.
Rohit Yadav
git at videolan.org
Fri Jul 29 16:45:17 CEST 2011
vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Sat Jul 30 02:01:15 2011 +0530| [8921e59d7f9e2a376138ffaf5896bbc628e35263] | committer: Rohit Yadav
Cosmetics: Fix typos in application and organization name.
Use single macro for preprocessing the same things in line.
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=8921e59d7f9e2a376138ffaf5896bbc628e35263
---
CMakeLists.txt | 2 +-
src/Main/guimain.cpp | 8 +++-----
src/Main/main.cpp | 4 ++--
3 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42fe6b4..c8dbeb0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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}")
diff --git a/src/Main/guimain.cpp b/src/Main/guimain.cpp
index e0b6977..7c94ba0 100644
--- a/src/Main/guimain.cpp
+++ b/src/Main/guimain.cpp
@@ -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 ) );
diff --git a/src/Main/main.cpp b/src/Main/main.cpp
index ed10e74..4ab058a 100644
--- a/src/Main/main.cpp
+++ b/src/Main/main.cpp
@@ -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 );
More information about the Vlmc-devel
mailing list