mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Fix compiler warining non-virtual destructor
ref: https://stackoverflow.com/questions/38407723/how-to-delete-an-object-of-derived-class-that-has-no-dstructor
This commit is contained in:
parent
8c9b30acd6
commit
cecacfc769
@ -20,3 +20,8 @@
|
||||
PropertiesInterface::PropertiesInterface()
|
||||
{
|
||||
}
|
||||
|
||||
PropertiesInterface::~PropertiesInterface()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -30,6 +30,7 @@ class PropertiesInterface
|
||||
{
|
||||
public:
|
||||
PropertiesInterface();
|
||||
virtual ~PropertiesInterface();
|
||||
// Save/load properties to setting file. QString is use for prefix a word befor the name of each paramètre
|
||||
virtual void toSettings (QSettings &settings, const QString = QString()) const =0;
|
||||
virtual void fromSettings (const QSettings &settings, const QString = QString()) =0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user