~ubuntu-branches/debian/jessie/qpdfview/jessie

« back to all changes in this revision

Viewing changes to sources/formfielddialog.cpp

  • Committer: Package Import Robot
  • Author(s): Benjamin Eltzner
  • Date: 2013-04-04 14:51:58 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20130404145158-22g2noz4b8176o35
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
 
Copyright 2012 Adam Reichold
 
3
Copyright 2012-2013 Adam Reichold
4
4
 
5
5
This file is part of qpdfview.
6
6
 
21
21
 
22
22
#include "formfielddialog.h"
23
23
 
 
24
#include <QComboBox>
 
25
#include <QLineEdit>
 
26
#include <QListWidget>
 
27
#include <QMutex>
 
28
#include <QPlainTextEdit>
 
29
#include <QVBoxLayout>
 
30
 
 
31
#include <poppler-form.h>
 
32
 
24
33
class FormFieldHandler
25
34
{
26
35
public:
285
294
{
286
295
    QDialog::hideEvent(event);
287
296
 
288
 
    m_mutex->lock();
 
297
#ifndef HAS_POPPLER_24
 
298
 
 
299
    QMutexLocker mutexLocker(m_mutex);
 
300
 
 
301
#endif // HAS_POPPLER_24
289
302
 
290
303
    m_handler->hideWidget();
291
 
 
292
 
    m_mutex->unlock();
293
304
}