mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Fix builds with CONFIG+=no_opengl
This commit is contained in:
@ -11,6 +11,7 @@
|
|||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QColorDialog>
|
#include <QColorDialog>
|
||||||
|
#include <QCheckBox>
|
||||||
|
|
||||||
#include "yacreader_spin_slider_widget.h"
|
#include "yacreader_spin_slider_widget.h"
|
||||||
#include "yacreader_flow_config_widget.h"
|
#include "yacreader_flow_config_widget.h"
|
||||||
@ -104,7 +105,7 @@ OptionsDialog::OptionsDialog(QWidget * parent)
|
|||||||
gammaS->setTracking(false);
|
gammaS->setTracking(false);
|
||||||
connect(gammaS,SIGNAL(valueChanged(int)),this,SLOT(gammaChanged(int)));
|
connect(gammaS,SIGNAL(valueChanged(int)),this,SLOT(gammaChanged(int)));
|
||||||
//connect(brightnessS,SIGNAL(valueChanged(int)),this,SIGNAL(changedOptions()));
|
//connect(brightnessS,SIGNAL(valueChanged(int)),this,SIGNAL(changedOptions()));
|
||||||
|
|
||||||
quickNavi = new QCheckBox(tr("Quick Navigation Mode"));
|
quickNavi = new QCheckBox(tr("Quick Navigation Mode"));
|
||||||
disableShowOnMouseOver = new QCheckBox(tr("Disable mouse over activation"));
|
disableShowOnMouseOver = new QCheckBox(tr("Disable mouse over activation"));
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@
|
|||||||
#include "yacreader_flow_config_widget.h"
|
#include "yacreader_flow_config_widget.h"
|
||||||
#include "api_key_dialog.h"
|
#include "api_key_dialog.h"
|
||||||
|
|
||||||
|
#ifndef NO_OPENGL
|
||||||
FlowType flowType = Strip;
|
FlowType flowType = Strip;
|
||||||
|
#endif
|
||||||
|
|
||||||
OptionsDialog::OptionsDialog(QWidget * parent)
|
OptionsDialog::OptionsDialog(QWidget * parent)
|
||||||
:YACReaderOptionsDialog(parent)
|
:YACReaderOptionsDialog(parent)
|
||||||
|
Reference in New Issue
Block a user