equal
deleted
inserted
replaced
76 setValue("video/resolution", Form->ui.pageOptions->CBResolution->currentText()); |
76 setValue("video/resolution", Form->ui.pageOptions->CBResolution->currentText()); |
77 setValue("video/fullscreen", vid_Fullscreen()); |
77 setValue("video/fullscreen", vid_Fullscreen()); |
78 |
78 |
79 setValue("audio/sound", isSoundEnabled()); |
79 setValue("audio/sound", isSoundEnabled()); |
80 |
80 |
81 setValue("net/nick", Form->ui.pageOptions->editNetNick->text()); |
81 setValue("net/nick", netNick()); |
82 setValue("net/ip", *netHost); |
82 setValue("net/ip", *netHost); |
83 setValue("net/port", netPort); |
83 setValue("net/port", netPort); |
84 setValue("net/servername", Form->ui.pageNetServer->leServerDescr->text()); |
84 setValue("net/servername", Form->ui.pageNetServer->leServerDescr->text()); |
85 setValue("net/serverport", Form->ui.pageNetServer->sbPort->value()); |
85 setValue("net/serverport", Form->ui.pageNetServer->sbPort->value()); |
86 |
86 |
132 |
132 |
133 quint8 GameUIConfig::bitDepth() |
133 quint8 GameUIConfig::bitDepth() |
134 { |
134 { |
135 return depth; |
135 return depth; |
136 } |
136 } |
|
137 |
|
138 QString GameUIConfig::netNick() |
|
139 { |
|
140 return Form->ui.pageOptions->editNetNick->text(); |
|
141 } |