src/mainwindow.cpp

changeset 48
3c10f0e2fbe0
parent 47
cd6704009eb9
child 79
5fe2dd4e161a
equal deleted inserted replaced
47:cd6704009eb9 48:3c10f0e2fbe0
321 this->renderPreferences.style = static_cast<gl::RenderStyle>(this->settings.renderStyle()); 321 this->renderPreferences.style = static_cast<gl::RenderStyle>(this->settings.renderStyle());
322 this->renderPreferences.mainColor = this->settings.mainColor(); 322 this->renderPreferences.mainColor = this->settings.mainColor();
323 this->renderPreferences.backgroundColor = this->settings.backgroundColor(); 323 this->renderPreferences.backgroundColor = this->settings.backgroundColor();
324 this->renderPreferences.lineThickness = this->settings.lineThickness(); 324 this->renderPreferences.lineThickness = this->settings.lineThickness();
325 this->renderPreferences.lineAntiAliasing = this->settings.lineAntiAliasing(); 325 this->renderPreferences.lineAntiAliasing = this->settings.lineAntiAliasing();
326 this->renderPreferences.selectedColor = this->settings.selectedColor();
326 const QString systemLocale = QLocale::system().name(); 327 const QString systemLocale = QLocale::system().name();
327 const QVariant defaultLocale = this->settings.locale(); 328 const QVariant defaultLocale = this->settings.locale();
328 this->changeLanguage(defaultLocale.toString()); 329 this->changeLanguage(defaultLocale.toString());
329 this->libraries.restoreFromSettings(&this->settings); 330 this->libraries.restoreFromSettings(&this->settings);
330 this->updateRecentlyOpenedDocumentsMenu(); 331 this->updateRecentlyOpenedDocumentsMenu();

mercurial