projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Confirm with user when trying to close sessions with unsaved data
[pulseview.git]
/
pv
/
prop
/
enum.hpp
diff --git
a/pv/prop/enum.hpp
b/pv/prop/enum.hpp
index 7b7fcc5dc73329a7e0289276762f48959066c789..7216508ca75fcf1f3590fa8febea78b681eb498c 100644
(file)
--- a/
pv/prop/enum.hpp
+++ b/
pv/prop/enum.hpp
@@
-14,12
+14,11
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
*/
-#ifndef PULSEVIEW_PV_PROP_ENUM_H
-#define PULSEVIEW_PV_PROP_ENUM_H
+#ifndef PULSEVIEW_PV_PROP_ENUM_H
PP
+#define PULSEVIEW_PV_PROP_ENUM_H
PP
#include <utility>
#include <vector>
#include <utility>
#include <vector>
@@
-43,7
+42,7
@@
public:
Enum(QString name, std::vector<std::pair<Glib::VariantBase, QString> > values,
Getter getter, Setter setter);
Enum(QString name, std::vector<std::pair<Glib::VariantBase, QString> > values,
Getter getter, Setter setter);
- virtual ~Enum();
+ virtual ~Enum()
= default
;
QWidget* get_widget(QWidget *parent, bool auto_commit);
QWidget* get_widget(QWidget *parent, bool auto_commit);
@@
-61,4
+60,4
@@
private:
} // prop
} // pv
} // prop
} // pv
-#endif // PULSEVIEW_PV_PROP_ENUM_H
+#endif // PULSEVIEW_PV_PROP_ENUM_H
PP