Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:KDE:Extra
kio_sysinfo
fix_hd-device.name_empty.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_hd-device.name_empty.patch of Package kio_sysinfo
diff -uNr kio_sysinfo/src/sysinfo.cpp new.kio_sysinfo/src/sysinfo.cpp --- kio_sysinfo/src/sysinfo.cpp 2011-02-15 11:58:31.000000000 +0100 +++ new.kio_sysinfo/src/sysinfo.cpp 2014-11-19 11:31:44.491682482 +0100 @@ -683,7 +683,10 @@ /* Using HD (when possible) should gave the best result */ if (hd) { m_info[GFX_VENDOR] = hd->vendor.name; - m_info[GFX_MODEL] = hd->device.name; + /* GFX_MODEL maybe empty with newer models */ + if (!!hd->device.name) { + m_info[GFX_MODEL] = hd->device.name; + } } #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor