[qet] qet/qet: [5735] fix segfault, see bugtracker N°167

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5735
Author:   blacksun
Date:     2019-02-10 18:37:25 +0100 (Sun, 10 Feb 2019)
Log Message:
-----------
fix segfault, see bugtracker N°167

Modified Paths:
--------------
    trunk/sources/qetapp.cpp

Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp	2019-02-05 22:18:55 UTC (rev 5734)
+++ trunk/sources/qetapp.cpp	2019-02-10 17:37:25 UTC (rev 5735)
@@ -1,5 +1,5 @@
 /*
-	Copyright 2006-2019 The QElectroTech Team
+	Copyright 2006-2017 The QElectroTech Team
 	This file is part of QElectroTech.
 
 	QElectroTech is free software: you can redistribute it and/or modify
@@ -479,8 +479,8 @@
 QList<TitleBlockTemplatesCollection *> QETApp::availableTitleBlockTemplatesCollections() {
 	QList<TitleBlockTemplatesCollection *> collections_list;
 
-	collections_list << m_common_tbt_collection;
-	collections_list << m_custom_tbt_collection;
+	collections_list << commonTitleBlockTemplatesCollection();
+	collections_list << customTitleBlockTemplatesCollection();
 
 	foreach(QETProject *opened_project, registered_projects_) {
 		collections_list << opened_project -> embeddedTitleBlockTemplatesCollection();


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/