Only compile FileKeeper when it's necessary

remotes/offline-stg/wilder
Aleix Pol 8 years ago
parent 52b62306f8
commit aae8baf2d0
  1. 2
      part.cpp

@ -115,6 +115,7 @@
#include "core/fileprinter.h" #include "core/fileprinter.h"
#include <memory> #include <memory>
#ifdef OKULAR_KEEP_FILE_OPEN
class FileKeeper class FileKeeper
{ {
public: public:
@ -170,6 +171,7 @@ class FileKeeper
private: private:
std::FILE * m_handle; std::FILE * m_handle;
}; };
#endif
K_PLUGIN_FACTORY(OkularPartFactory, registerPlugin<Okular::Part>();) K_PLUGIN_FACTORY(OkularPartFactory, registerPlugin<Okular::Part>();)

Loading…
Cancel
Save