mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
make splitAddress() const
This commit is contained in:
@ -91,7 +91,7 @@ struct Server {
|
||||
}
|
||||
}
|
||||
|
||||
std::tuple<QString, int> splitAddress() {
|
||||
std::tuple<QString, int> splitAddress() const {
|
||||
auto parts = m_address.split(":");
|
||||
if (parts.size() == 1) {
|
||||
return std::make_tuple(parts[0], 25565);
|
||||
|
Reference in New Issue
Block a user