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()