refactor: cleanup and sync
* Fix Jenkins scripts and sync with ndn-cxx
* Sync waf-tools
* Remove ChronoSync submodule
* Remove commented/dead code and includes
* Use ScopedEventId and ScopedRegisteredPrefixHandle
* Set setCanBePrefix to true explicitly everywhere
* Fix macOS build, add GHA CI
* Use NDN_THROW for throwing errors
* Other smaller fixes
Change-Id: I615e0e239511b97101852e1d7c620a2071a18ff8
diff --git a/src/profile-editor.cpp b/src/profile-editor.cpp
index f0b067d..fbfe105 100644
--- a/src/profile-editor.cpp
+++ b/src/profile-editor.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
/*
- * Copyright (c) 2013, Regents of the University of California
+ * Copyright (c) 2020, Regents of the University of California
* Yingdi Yu
*
* BSD license, See the LICENSE file for more information
@@ -14,12 +14,6 @@
#include <QtSql/QSqlField>
#include <QtSql/QSqlError>
-#ifndef Q_MOC_RUN
-#include "logging.h"
-#endif
-
-// INIT_LOGGER("ProfileEditor")
-
namespace chronochat {
ProfileEditor::ProfileEditor(QWidget *parent)
@@ -40,9 +34,7 @@
ProfileEditor::~ProfileEditor()
{
delete ui;
-
- if (m_tableModel)
- delete m_tableModel;
+ delete m_tableModel;
}
void
@@ -109,5 +101,4 @@
#if WAF
#include "profile-editor.moc"
-// #include "profile-editor.cpp.moc"
#endif