refactor: ServerConfig, use static access to switchCornerNames()

This commit is contained in:
sithlord48
2025-09-04 22:05:42 -04:00
committed by Nick Bolton
parent a9d518fbc8
commit 88efc14bc2

View File

@ -296,7 +296,7 @@ QTextStream &operator<<(QTextStream &outStream, const ServerConfig &config)
<< "switchCorners = none ";
for (int i = 0; i < config.switchCorners().size(); i++)
if (config.switchCorners()[i])
outStream << "+" << config.switchCornerName(i) << " ";
outStream << "+" << ServerConfig::switchCornerName(i) << " ";
outStream << Qt::endl;
outStream << "\t"