From 57e9b6c481decfc3c4f1b89244265a65b925cb28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 25 Mar 2016 18:59:53 +0100 Subject: [PATCH] fixed YACReader compilation, removed debug code commited by mistake --- YACReader/main.cpp | 8 -------- YACReader/viewer.cpp | 6 ------ 2 files changed, 14 deletions(-) diff --git a/YACReader/main.cpp b/YACReader/main.cpp index bc343244..efd8d012 100644 --- a/YACReader/main.cpp +++ b/YACReader/main.cpp @@ -14,8 +14,6 @@ #include "configuration.h" #include "exit_check.h" -#include - #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) diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index a7918160..1030bd50 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -22,9 +22,6 @@ #include -#include - - 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()