QTfrontend/ui/widget/about.cpp
changeset 12315 0f98d45204d7
parent 12268 2eedf9e0cd6d
child 12387 cfcbc960337e
equal deleted inserted replaced
12314:a57243490831 12315:0f98d45204d7
   150                 .arg(sdlimage_ver->major)
   150                 .arg(sdlimage_ver->major)
   151                 .arg(sdlimage_ver->minor)
   151                 .arg(sdlimage_ver->minor)
   152                 .arg(sdlimage_ver->patch));
   152                 .arg(sdlimage_ver->patch));
   153             libinfo.append(QString("<br>"));
   153             libinfo.append(QString("<br>"));
   154         }
   154         }
   155         SDL_UnloadObject(sdlnet_handle);
   155         SDL_UnloadObject(sdlimage_handle);
   156     }
   156     }
   157 
   157 
   158     void *sdlttf_handle = SDL_LoadObject(sopath("SDL_ttf"));
   158     void *sdlttf_handle = SDL_LoadObject(sopath("SDL_ttf"));
   159     if (sdlttf_handle != NULL) {
   159     if (sdlttf_handle != NULL) {
   160         SDL_version *(*sdlttf_ver_get)(void) = NULL;
   160         SDL_version *(*sdlttf_ver_get)(void) = NULL;
   165                 .arg(sdlttf_ver->major)
   165                 .arg(sdlttf_ver->major)
   166                 .arg(sdlttf_ver->minor)
   166                 .arg(sdlttf_ver->minor)
   167                 .arg(sdlttf_ver->patch));
   167                 .arg(sdlttf_ver->patch));
   168             libinfo.append(QString("<br>"));
   168             libinfo.append(QString("<br>"));
   169         }
   169         }
   170         SDL_UnloadObject(sdlnet_handle);
   170         SDL_UnloadObject(sdlttf_handle);
   171     }
   171     }
   172 
   172 
   173 
   173 
   174     libinfo.append(QString(tr("<a href=\"https://www.qt.io/developers/\">Qt</a>: %1")).arg(QT_VERSION_STR));
   174     libinfo.append(QString(tr("<a href=\"https://www.qt.io/developers/\">Qt</a>: %1")).arg(QT_VERSION_STR));
   175     libinfo.append(QString("<br>"));
   175     libinfo.append(QString("<br>"));