summaryrefslogtreecommitdiffstats
path: root/subsurfacesysinfo.cpp
AgeCommit message (Collapse)Author
2014-11-08Remove unused unquote functionGravatar Anton Lundin
In previous version of subsurfacesysinfo.cpp which came straight form Qt the unquote function was used to clean strings. Since f59b30ca5ad7 ("OS Detection: Use QFile when reading /etc/os-release") its not needed any longer so this removes that function. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-08-22Use the Windows default font on Windows 7 and 8/8.1Gravatar Dirk Hohndel
It contains the characters we need and will make the application look more "native". See #712 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-07-25Allow Mac build on older versions of OSXv4.1.93Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-30User survey: detect the machine the app is running onGravatar Dirk Hohndel
We build 32bit Windows binaries - but we really want to know if the OS is x86_64 or i386. This little hack should give us that information. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-20Fixed compilation for CMake.Gravatar Tomaz Canabrava
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-18Clean up SubsurfaceSysInfo by inheriting QSysInfoGravatar Thiago Macieira
Most of the mechanics are already in QSysInfo, we only need to add the extra details that were missing until Qt 5.4. This greatly simplifies the code and will allow us to update it more easily from upstream. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-14OS DetectionGravatar Joshua Joseph
--001a113a374080d8af04fbd33a62 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jun 15, 2014 at 1:07 AM, Thiago Macieira <thiago@macieira.org> wrote: > Em s=C3=A1b 14 jun 2014, =C3=A0s 15:05:24, Thiago Macieira escreveu: > > > Also, please keep the original copyright headers from the files you copie= d. > -- > Attached patch adds Qt copyright to both files. --=20 Thanks, Joshua <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 15, 2014 at 1:07 AM, Thiago Macieira <span dir="ltr">&lt;<a href="mailto:thiago@macieira.org" target="_blank">thiago@macieira.org</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Em sáb 14 jun 2014, às 15:05:24, Thiago Macieira escreveu:<br> <div class=""><br> <br> </div>Also, please keep the original copyright headers from the files you copied.<br> <div class="HOEnZb"><div class="h5">--<br></div></div></blockquote><div><br></div><div>Attached patch adds Qt copyright to both files. </div></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Thanks,</div><div> Joshua</div><div><b><br></b></div></div> </div></div> From 092bea260da8b02437c54eac51fd4fa044069e0e Mon Sep 17 00:00:00 2001 From: "Joseph W. Joshua" <joejoshw@gmail.com> Date: Sun, 15 Jun 2014 01:20:12 +0300 Subject: [PATCH] Include Qt copyright headers in SubsurfaceSysInfo Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-14OS Detection: Use QFile when reading /etc/os-releaseGravatar Joseph W. Joshua
Improves and simplifies reading of /etc/os-release on linux system to read the PRETTY_NAME value. The previously used method is unnecessarily lengthy and too complicated. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-14Make system detection compile on MacGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-06-14OS DetectionGravatar Joseph W. Joshua
Implements automatic OS and architecture detection. This code has been taken from the Qt repositories for Qt 5.4 (LGPL) and slightly modified into the SubsurfaceSysInfo class. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>