mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
Fix indent (tag/space mix)
This commit is contained in:
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
|
|
||||||
GoToFlow::GoToFlow(QWidget *parent,FlowType flowType)
|
GoToFlow::GoToFlow(QWidget *parent,FlowType flowType)
|
||||||
:GoToFlowWidget(parent),ready(false)
|
:GoToFlowWidget(parent),ready(false)
|
||||||
{
|
{
|
||||||
updateTimer = new QTimer;
|
updateTimer = new QTimer;
|
||||||
connect(updateTimer, SIGNAL(timeout()), this, SLOT(updateImageData()));
|
connect(updateTimer, SIGNAL(timeout()), this, SLOT(updateImageData()));
|
||||||
@ -229,7 +229,7 @@ void GoToFlow::updateConfig(QSettings * settings)
|
|||||||
//SlideInitializer
|
//SlideInitializer
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
SlideInitializer::SlideInitializer(QMutex * m,PictureFlow * flow,int slides)
|
SlideInitializer::SlideInitializer(QMutex * m,PictureFlow * flow,int slides)
|
||||||
:QThread(),mutex(m),_flow(flow),_slides(slides)
|
:QThread(),mutex(m),_flow(flow),_slides(slides)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -250,7 +250,7 @@ void SlideInitializer::run()
|
|||||||
|
|
||||||
|
|
||||||
PageLoader::PageLoader(QMutex * m):
|
PageLoader::PageLoader(QMutex * m):
|
||||||
QThread(),mutex(m), restart(false), working(false), idx(-1)
|
QThread(),mutex(m), restart(false), working(false), idx(-1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ void GoToFlowGL::updateConfig(QSettings * settings)
|
|||||||
flow->setLightStrenght(settings->value(LIGHT_STRENGTH).toInt());
|
flow->setLightStrenght(settings->value(LIGHT_STRENGTH).toInt());
|
||||||
flow->setMaxAngle(settings->value(MAX_ANGLE).toInt());
|
flow->setMaxAngle(settings->value(MAX_ANGLE).toInt());
|
||||||
|
|
||||||
/* flow->setVisibility(settings->value("visibilityDistance").toInt());
|
/* flow->setVisibility(settings->value("visibilityDistance").toInt());
|
||||||
flow->setLightStrenght(settings->value("lightStrength").toInt())*/;
|
flow->setLightStrenght(settings->value("lightStrength").toInt())*/;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
OptionsDialog::OptionsDialog(QWidget * parent)
|
OptionsDialog::OptionsDialog(QWidget * parent)
|
||||||
:YACReaderOptionsDialog(parent)
|
:YACReaderOptionsDialog(parent)
|
||||||
{
|
{
|
||||||
|
|
||||||
QTabWidget * tabWidget = new QTabWidget();
|
QTabWidget * tabWidget = new QTabWidget();
|
||||||
|
@ -23,21 +23,21 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
Viewer::Viewer(QWidget * parent)
|
Viewer::Viewer(QWidget * parent)
|
||||||
:QScrollArea(parent),
|
:QScrollArea(parent),
|
||||||
currentPage(0),
|
currentPage(0),
|
||||||
magnifyingGlassShowed(false),
|
magnifyingGlassShowed(false),
|
||||||
fullscreen(false),
|
fullscreen(false),
|
||||||
information(false),
|
information(false),
|
||||||
doublePage(false),
|
doublePage(false),
|
||||||
doubleMangaPage(false),
|
doubleMangaPage(false),
|
||||||
wheelStop(false),
|
wheelStop(false),
|
||||||
direction(1),
|
direction(1),
|
||||||
restoreMagnifyingGlass(false),
|
restoreMagnifyingGlass(false),
|
||||||
drag(false),
|
drag(false),
|
||||||
numScrollSteps(22),
|
numScrollSteps(22),
|
||||||
shouldOpenNext(false),
|
shouldOpenNext(false),
|
||||||
shouldOpenPrevious(false),
|
shouldOpenPrevious(false),
|
||||||
zoom(100)
|
zoom(100)
|
||||||
{
|
{
|
||||||
translator = new YACReaderTranslator(this);
|
translator = new YACReaderTranslator(this);
|
||||||
translator->hide();
|
translator->hide();
|
||||||
|
Reference in New Issue
Block a user