icons: Don't offer the Oxygen fallback if not enabled in CMake
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 17 Jun 2018 14:01:11 +0000 (16:01 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 17 Jun 2018 17:20:09 +0000 (19:20 +0200)
commit470591c38960f9107d4808a81b0cae95cfe9c3e8
tree2cca19ff7abf1ff8602e4632838b1449358e4e32
parent6d4c6dd41bd39d173e1ca187a989660b76299325
icons: Don't offer the Oxygen fallback if not enabled in CMake

If -DWITH_OXYGEN_ICONS is disabled, Quassel will not install its
own Oxygen icons, and thus those would be missing if Oxygen were
chosen as a fallback.

Ensure that the fallback isn't offered in this case even if there
happens to be a (runtime-detected) system installation of Oxygen.
src/qtui/qtui.cpp