WhereGroup / profile-manager

https://plugins.qgis.org/plugins/profile-manager/
MIT License
3 stars 3 forks source link

Fix the plugin to use it on BSD system #1

Closed lbartoletti closed 2 years ago

lbartoletti commented 2 years ago

Hello,

Thanks for your plugin.

There is a tiny problem to use it on my system (FreeBSD) and other unix-like system. The if platform should be to rewrite to handle special cases (win, mac) and after the other one (posix / unix) otherwise the plugin generate an exception:

"AttributeError: 'NoneType' object has no attribute 'adjust_to_macOSDark'"
dszillWG commented 2 years ago

Hey,

thanks a lot for the PR. Works perfectly!

Will update the QGIS repo asap.