File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -878,8 +878,16 @@ std::string Configurator::Log() const {
878878 log += format (" - %s %s\n " , current.name ().toStdString ().c_str (), current.version ().toString ().toStdString ().c_str ());
879879#endif
880880
881+ if (qEnvironmentVariableIsSet (" XDG_SESSION_TYPE" )) {
882+ log += format (" - ${XDG_SESSION_TYPE}: %s\n " , qgetenv (" XDG_SESSION_TYPE" ).toStdString ().c_str ());
883+ }
884+ if (qEnvironmentVariableIsSet (" XDG_CURRENT_DESKTOP" )) {
885+ log += format (" - ${XDG_CURRENT_DESKTOP}: %s\n " , qgetenv (" XDG_CURRENT_DESKTOP" ).toStdString ().c_str ());
886+ }
887+
881888 log += format (" - CPU architechture: %s\n " , QSysInfo::currentCpuArchitecture ().toStdString ().c_str ());
882889 log += format (" - Logical CPU core count: %d\n " , std::thread::hardware_concurrency ());
890+
883891 log += " \n " ;
884892
885893 log += format (" %s Settings:\n " , VKCONFIG_NAME );
You can’t perform that action at this time.
0 commit comments