mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 09:08:20 -04:00
fixed YACReader compilation, removed debug code commited by mistake
This commit is contained in:
parent
6df834d5c9
commit
57e9b6c481
@ -14,8 +14,6 @@
|
|||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
#include "exit_check.h"
|
#include "exit_check.h"
|
||||||
|
|
||||||
#include <QtPlatformHeaders/QWindowsWindowFunctions>
|
|
||||||
|
|
||||||
#include "QsLog.h"
|
#include "QsLog.h"
|
||||||
#include "QsLogDest.h"
|
#include "QsLogDest.h"
|
||||||
|
|
||||||
@ -143,12 +141,6 @@ int main(int argc, char * argv[])
|
|||||||
app.installTranslator(&translator);
|
app.installTranslator(&translator);
|
||||||
MainWindowViewer * mwv = new MainWindowViewer();
|
MainWindowViewer * mwv = new MainWindowViewer();
|
||||||
|
|
||||||
QWindow * w = mwv->windowHandle();
|
|
||||||
|
|
||||||
QString s_data = QString::fromLocal8Bit(QWindowsWindowFunctions::setHasBorderInFullScreenIdentifier());
|
|
||||||
|
|
||||||
qDebug() << s_data << "---";
|
|
||||||
|
|
||||||
//parser code for comic loading needs to be processed after MainWindowViewer creation
|
//parser code for comic loading needs to be processed after MainWindowViewer creation
|
||||||
//if we have a valid request, open it - if not, load normally
|
//if we have a valid request, open it - if not, load normally
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
|
@ -22,9 +22,6 @@
|
|||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
#include <QtPlatformHeaders/QWindowsWindowFunctions>
|
|
||||||
|
|
||||||
|
|
||||||
Viewer::Viewer(QWidget * parent)
|
Viewer::Viewer(QWidget * parent)
|
||||||
:QScrollArea(parent),
|
:QScrollArea(parent),
|
||||||
currentPage(0),
|
currentPage(0),
|
||||||
@ -128,9 +125,6 @@ zoom(100)
|
|||||||
informationLabel = new PageLabelWidget(this);
|
informationLabel = new PageLabelWidget(this);
|
||||||
|
|
||||||
setAcceptDrops(true);
|
setAcceptDrops(true);
|
||||||
|
|
||||||
if(this->windowHandle())
|
|
||||||
QWindowsWindowFunctions::setHasBorderInFullScreen(this->windowHandle(), true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Viewer::~Viewer()
|
Viewer::~Viewer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user