Skip to content
Commit ae576e00 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/umlviewimageexportermodel.{h,cpp} (s_supportedMimeTypesList,...

umbrello/umlviewimageexportermodel.{h,cpp} (s_supportedMimeTypesList, s_supportedImageTypesList) : Change to pointer.

umbrello/umlviewimageexportermodel.cpp
- In function supportedImageTypes, if s_supportedImageTypesList is null
  then allocate new QStringList to it.
- In function supportedMimeTypes, if s_supportedMimeTypesList is null
  then allocate new QStringList to it.
- These changes help avoid "C++ static initialization order fiasco", see
  https://en.cppreference.com/w/cpp/language/siof
parent 7c4b919c
Pipeline #189456 passed with stage
in 12 minutes and 54 seconds
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