mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
make splitAddress() const
This commit is contained in:
parent
2f70115be5
commit
ea2a2349f8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue