mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 07:24:58 -04:00
fixed bug in the default value for USE_OPEN_GL
fixed settings file path in ShortcutsManager
This commit is contained in:
@ -167,15 +167,7 @@ void LibraryWindow::doLayout()
|
||||
//---------------------------------------------------------------------------
|
||||
if(QGLFormat::hasOpenGL() && !settings->contains(USE_OPEN_GL))
|
||||
{
|
||||
OnStartFlowSelectionDialog * flowSelDialog = new OnStartFlowSelectionDialog();
|
||||
|
||||
flowSelDialog->exec();
|
||||
if(flowSelDialog->result() == QDialog::Accepted)
|
||||
settings->setValue(USE_OPEN_GL,2);
|
||||
else
|
||||
settings->setValue(USE_OPEN_GL,0);
|
||||
|
||||
delete flowSelDialog;
|
||||
settings->setValue(USE_OPEN_GL,2);
|
||||
}
|
||||
|
||||
//FOLDERS FILTER-------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user