mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
removed de use of OnStartFlowSelectionDialog
This commit is contained in:
parent
0dab86a3b7
commit
b55bbb1366
@ -66,18 +66,10 @@ shouldOpenPrevious(false)
|
|||||||
QSettings * settings = new QSettings(YACReader::getSettingsPath()+"/YACReader.ini",QSettings::IniFormat);
|
QSettings * settings = new QSettings(YACReader::getSettingsPath()+"/YACReader.ini",QSettings::IniFormat);
|
||||||
|
|
||||||
//CONFIG GOTO_FLOW--------------------------------------------------------
|
//CONFIG GOTO_FLOW--------------------------------------------------------
|
||||||
if(QGLFormat::hasOpenGL() && !settings->contains(USE_OPEN_GL))
|
if(QGLFormat::hasOpenGL() && !settings->contains(USE_OPEN_GL))
|
||||||
{
|
settings->setValue(USE_OPEN_GL,2);
|
||||||
OnStartFlowSelectionDialog * flowSelDialog = new OnStartFlowSelectionDialog();
|
else
|
||||||
|
settings->setValue(USE_OPEN_GL,0);
|
||||||
flowSelDialog->exec();
|
|
||||||
if(flowSelDialog->result() == QDialog::Accepted)
|
|
||||||
settings->setValue(USE_OPEN_GL,2);
|
|
||||||
else
|
|
||||||
settings->setValue(USE_OPEN_GL,0);
|
|
||||||
|
|
||||||
delete flowSelDialog;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(QGLFormat::hasOpenGL() && (settings->value(USE_OPEN_GL).toBool() == true))
|
if(QGLFormat::hasOpenGL() && (settings->value(USE_OPEN_GL).toBool() == true))
|
||||||
goToFlow = new GoToFlowGL(this,Configuration::getConfiguration().getFlowType());
|
goToFlow = new GoToFlowGL(this,Configuration::getConfiguration().getFlowType());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user