Commit d40a570e authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

*_COMPILE_FIRST is not needed now

use QPaintDevice::x11AppDpiY() for vertical dpi instead of  QPaintDevice::x11AppDpiX()

svn path=/trunk/kdegraphics/kpdf/; revision=343763
parent d41e0ae3
# set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../splash -I$(srcdir)/../fofi -I$(srcdir)/../goo -I$(srcdir)/../xpdf $(all_includes) $(FREETYPE_CFLAGS)
INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../splash -I$(srcdir)/../goo -I$(srcdir)/../xpdf $(all_includes) $(FREETYPE_CFLAGS)
# these are the headers for your project
noinst_HEADERS = kpdf_shell.h kpdf_part.h kpdf_pagewidget.h QOutputDevPixmap.h QOutputDev.h
......@@ -45,7 +45,6 @@ kde_module_LTLIBRARIES =
libkpdfpart_la_SOURCES = QOutputDev.cpp QOutputDevPixmap.cpp QOutputDevKPrinter.cpp kpdf_part.cpp part.cpp thumbnail.cpp thumbnaillist.cpp kpdf_error.cpp xpdf_errors.cpp
libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libkpdfpart_la_LIBADD = ../xpdf/ $(LIB_KPARTS) $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS)
libkpdfpart_la_COMPILE_FIRST = ../aconf.h
# this is where the desktop file will go
partdesktopdir = $(kde_servicesdir)
......@@ -417,7 +417,7 @@ void Part::nextThumbnail()
QOutputDevPixmap odev(paperColor);
m_doc->displayPage(&odev, m_nextThumbnail, QPaintDevice::x11AppDpiX(), QPaintDevice::x11AppDpiX(), 0, true, true);
m_doc->displayPage(&odev, m_nextThumbnail, QPaintDevice::x11AppDpiX(), QPaintDevice::x11AppDpiY(), 0, true, true);
pdfpartview->setThumbnail(m_nextThumbnail, odev.getPixmap());
......@@ -4,6 +4,5 @@ libsplash_la_SOURCES = S \ \
libsplash_la_COMPILE_FIRST = ../aconf.h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment