Commit 4962f052 authored by David Faure's avatar David Faure
Browse files

m_displaySettings is #ifdef HAVE_OPENGL in trunk

svn path=/trunk/koffice/; revision=546927
parent e2b61df6
......@@ -796,7 +796,9 @@ void PreferencesDialog::slotDefault()
m_colorSettings->setDefault();
m_tabletSettings->setDefault();
m_performanceSettings->setDefault();
#ifdef HAVE_OPENGL
m_displaySettings->setDefault();
#endif
m_gridSettings->setDefault();
}
......@@ -831,9 +833,11 @@ bool PreferencesDialog::editPreferences()
dialog->m_tabletSettings->applySettings();
#ifdef HAVE_OPENGL
cfg.setUseOpenGL(dialog->m_displaySettings->cbUseOpenGL->isChecked());
//cfg.setUseOpenGLShaders(dialog->m_displaySettings->cbUseOpenGLShaders->isChecked());
#endif
// Grid settings
cfg.setGridMainStyle( dialog->m_gridSettings->selectMainStyle->currentIndex() );
cfg.setGridSubdivisionStyle( dialog->m_gridSettings->selectSubdivisionStyle->currentIndex() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment