lxqt / lxqt-qtplugin

LXQt Qt platform integration plugin
https://lxqt.github.io
GNU Lesser General Public License v2.1
24 stars 14 forks source link

Prevent a possible C++11 range for detach #20

Closed luis-pereira closed 7 years ago

luis-pereira commented 7 years ago

The solution with Qt>=5.7 is to use the qAsConst() macro. But the qAsConst macro is just a const_cast to const T&.

agaida commented 7 years ago

Apply, build and run great. LGTM