Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -182,13 +182,8 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 181 unmodified lines | ||
| 182 | 182 | |
| 183 | 183 | _settings = new QSettings(this); |
| 184 | 184 | |
| 185 | − // load user profile data | |
| 186 | − _profile.loadData(_settings); | |
| 187 | − | |
| 188 | − // check if there is a saved domain server hostname | |
| 189 | − // this must be done now instead of with the other setting checks to allow manual override with | |
| 190 | − // --domain or --local options | |
| 191 | − NodeList::getInstance()->loadData(_settings); | |
| 185 | + // call Menu getInstance static method to set up the menu | |
| 186 | + _window->setMenuBar(Menu::getInstance()); | |
| 192 | 187 | |
| 193 | 188 | // Check to see if the user passed in a command line option for loading a local |
| 194 | 189 | // Voxel File. |
| @@ -210,9 +205,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : · 15 unmodified lines | ||
| 210 | 205 | NodeList::getInstance()->startSilentNodeRemovalThread(); |
| 211 | 206 | |
| 212 | 207 | _window->setCentralWidget(_glWidget); |
| 213 | − | |
| 214 | − // call Menu getInstance static method to set up the menu | |
| 215 | − _window->setMenuBar(Menu::getInstance()); | |
| 216 | 208 | |
| 217 | 209 | _networkAccessManager = new QNetworkAccessManager(this); |
| 218 | 210 | QNetworkDiskCache* cache = new QNetworkDiskCache(_networkAccessManager); |