diff --git a/about.cc b/about.cc index 4aa03804..5e07befa 100644 --- a/about.cc +++ b/about.cc @@ -23,10 +23,8 @@ About::About( QWidget * parent ): QDialog( parent ) ui.version->setText( version ); #if defined (_MSC_VER) - QString compilerVersion = QString( "Visual C++ %1.%2.%3" ) - .arg( GD_CXX_MSVC_MAJOR ) - .arg( GD_CXX_MSVC_MINOR ) - .arg( GD_CXX_MSVC_BUILD ); + QString compilerVersion = QString( "Visual C++ Compiler: %1" ) + .arg( _MSC_FULL_VER ); #elif defined (__clang__) && defined (__clang_version__) QString compilerVersion = QLatin1String( "Clang " ) + QLatin1String( __clang_version__ ); #else diff --git a/about.hh b/about.hh index 2376f19a..0356403c 100644 --- a/about.hh +++ b/about.hh @@ -7,20 +7,6 @@ #include "ui_about.h" #include -// Microsoft Visual C++ version -#if defined (_MSC_VER) - // how many digits does the build number have? -# if _MSC_FULL_VER / 10000 == _MSC_VER -# define GD_CXX_MSVC_BUILD (_MSC_FULL_VER % 10000) // four digits -# elif _MSC_FULL_VER / 100000 == _MSC_VER -# define GD_CXX_MSVC_BUILD (_MSC_FULL_VER % 100000) // five digits -# else -# define GD_CXX_MSVC_BUILD 0 -# endif -# define GD_CXX_MSVC_MAJOR (_MSC_VER/100-6) -# define GD_CXX_MSVC_MINOR (_MSC_VER%100) -#endif - class About: public QDialog { Q_OBJECT