QupZilla / qupzilla

Cross-platform Qt web browser
http://www.qupzilla.com
GNU General Public License v3.0
1.11k stars 349 forks source link

Cleanup processinfo.h includes #2458

Closed beanpole135 closed 6 years ago

beanpole135 commented 6 years ago

Cleanup the includes: QtGlobal is not needed - already pulled in by qzcommon.h QString not needed, already pulled in by qzcommon.h Move the qzcommon include before the ifdefs

This is a change that has been getting used when building QupZilla on FreeBSD for several years now and works fine.

I was reviewing the FreeBSD port in preparation for the switchover to the new repository/name and discovered this patch. After a quick review that this patch is nothing FreeBSD-specific (just some C/C++ cleanup), I wanted to ensure this got submitted upstream ASAP.

I was originally going to submit this to the new Falkon repository, but after a fair bit of time in the KDE docs I am still unable to figure out how contributors are supposed to be able to send in patches (even with a ton of experience with Qt/Git).

If you could please make sure this patch is applied to the new repo as well that would be awesome.

nowrep commented 6 years ago

http://phabricator.kde.org/