mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -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 "exit_check.h"
|
||||
|
||||
#include <QtPlatformHeaders/QWindowsWindowFunctions>
|
||||
|
||||
#include "QsLog.h"
|
||||
#include "QsLogDest.h"
|
||||
|
||||
@ -143,12 +141,6 @@ int main(int argc, char * argv[])
|
||||
app.installTranslator(&translator);
|
||||
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
|
||||
//if we have a valid request, open it - if not, load normally
|
||||
if (argc > 1)
|
||||
|
@ -22,9 +22,6 @@
|
||||
|
||||
#include <QFile>
|
||||
|
||||
#include <QtPlatformHeaders/QWindowsWindowFunctions>
|
||||
|
||||
|
||||
Viewer::Viewer(QWidget * parent)
|
||||
:QScrollArea(parent),
|
||||
currentPage(0),
|
||||
@ -128,9 +125,6 @@ zoom(100)
|
||||
informationLabel = new PageLabelWidget(this);
|
||||
|
||||
setAcceptDrops(true);
|
||||
|
||||
if(this->windowHandle())
|
||||
QWindowsWindowFunctions::setHasBorderInFullScreen(this->windowHandle(), true);
|
||||
}
|
||||
|
||||
Viewer::~Viewer()
|
||||
|
Loading…
Reference in New Issue
Block a user