mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
mingw compile++
warnings-- svn path=/trunk/KDE/kdegraphics/okular/; revision=731467
This commit is contained in:
parent
24024a20c2
commit
ec72d7e654
|
@ -11,6 +11,11 @@
|
|||
#include "document.h"
|
||||
#include "document_p.h"
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#define _WIN32_WINNT 0x0500
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
// qt/kde/system includes
|
||||
#include <QtCore/QtAlgorithms>
|
||||
#include <QtCore/QDir>
|
||||
|
@ -60,10 +65,6 @@
|
|||
|
||||
#include <config-okular.h>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
using namespace Okular;
|
||||
|
||||
struct AllocatedPixmap
|
||||
|
@ -146,8 +147,8 @@ QString DocumentPrivate::localizedSize(const QSizeF &size) const
|
|||
void DocumentPrivate::cleanupPixmapMemory( qulonglong /*sure? bytesOffset*/ )
|
||||
{
|
||||
// [MEM] choose memory parameters based on configuration profile
|
||||
qulonglong clipValue = -1;
|
||||
qulonglong memoryToFree = -1;
|
||||
qulonglong clipValue = ~0U;
|
||||
qulonglong memoryToFree = ~0U;
|
||||
switch ( Settings::memoryLevel() )
|
||||
{
|
||||
case Settings::EnumMemoryLevel::Low:
|
||||
|
|
Loading…
Reference in a new issue