~kyrofa/junk/pay-service-2

« back to all changes in this revision

Viewing changes to service/qtbridge.cpp

  • Committer: Rodney Dawes
  • Author(s): Charles Kerr
  • Date: 2015-09-03 14:37:34 UTC
  • Revision ID: rodney.dawes@canonical.com-20150903143734-n329ilea2cgxwqyn
Improve compiler warnings usage and fix warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
class TaskEvent : public QEvent
51
51
{
52
52
public:
53
 
    TaskEvent(const std::function<void()>& task)
 
53
    explicit TaskEvent(const std::function<void()>& task)
54
54
        : QEvent(qt_core_world_task_event_type()),
55
55
          task(task)
56
56
    {
84
84
    Q_OBJECT
85
85
 
86
86
public:
87
 
    TaskHandler(QObject* parent) : QObject(parent)
 
87
    explicit TaskHandler(QObject* parent) : QObject(parent)
88
88
    {
89
89
    }
90
90