When searching for a card the line edit will not be empty, so this check is not needed. The performance when the line edit IS empty will take a slight hit, but you really want additional performance when searching, not when the line edit is empty. Removing will increase performance. |
||
---|---|---|
.. | ||
resources | ||
src | ||
translations | ||
.qdevelop | ||
CMakeLists.txt | ||
cockatrice.desktop | ||
cockatrice.qrc | ||
cockatrice.rc |