about: Update SDL2 names and drop old version check
authorkoda
Sun, 15 Nov 2015 14:01:29 +0100
changeset 11384 95d5badcb44f
parent 11383 d3b603323b2b
child 11385 4bf720dcef01
about: Update SDL2 names and drop old version check
QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp	Sun Nov 15 13:35:23 2015 +0100
+++ b/QTfrontend/ui/widget/about.cpp	Sun Nov 15 14:01:29 2015 +0100
@@ -103,19 +103,15 @@
 
     const SDL_version *sdl_ver;
     SDL_version sdl_version;
-#if SDL_MAJOR_VERSION == 2
     SDL_GetVersion(&sdl_version);
     sdl_ver = &sdl_version;
-#else
-    sdl_ver = SDL_Linked_Version();
-#endif
-    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL</a> version: %1.%2.%3<br>")
+    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL2</a> version: %1.%2.%3<br>")
         .arg(sdl_ver->major)
         .arg(sdl_ver->minor)
         .arg(sdl_ver->patch));
 
     const SDL_version *sdlmixer_ver = Mix_Linked_Version();
-    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL_mixer</a> version: %1.%2.%3<br>")
+    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL2_mixer</a> version: %1.%2.%3<br>")
         .arg(sdlmixer_ver->major)
         .arg(sdlmixer_ver->minor)
         .arg(sdlmixer_ver->patch));