mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-17 13:45:00 -04:00
--User changes
-Add a new dialog for editing QSS stylesheets. Allow for saving, reloading and setting styles as default. --Include a dark style with the installation called dark.qss. --Also add support for themes such as Fusion. --Resize some controls to better fit with the new style. -Add an option to specify the number of random embers generated on startup. 1 is the minimum and the default. --Bug fixes -Properly enable/disable thread priority label in final render dialog in response to enable/disable of the OpenCL checkbox. -Remove all inline stylesheets. -Show xaos spinners with 6 decimal places. --Code changes -Remove redundant comparisons to nullptr, use ! instead; -Give some controls valid names instead of the auto generated ones. -DoubleSpinBoxTableItemDelegate.h: Add virtual keyword to overridden functions.
This commit is contained in:
@ -1874,7 +1874,7 @@ protected:
|
||||
#define VARCOPYDOUBLE(name) \
|
||||
virtual void Copy(Variation<double>*& var) const override \
|
||||
{ \
|
||||
if (var != nullptr) \
|
||||
if (var) \
|
||||
delete var; \
|
||||
\
|
||||
var = new name<double>(*this); \
|
||||
@ -1905,7 +1905,7 @@ protected:
|
||||
\
|
||||
virtual void Copy(Variation<float>*& var) const override \
|
||||
{ \
|
||||
if (var != nullptr) \
|
||||
if (var) \
|
||||
delete var; \
|
||||
\
|
||||
var = new name<float>(*this); \
|
||||
@ -1932,7 +1932,7 @@ protected:
|
||||
\
|
||||
virtual void Copy(Variation<float>*& var) const override \
|
||||
{ \
|
||||
if (var != nullptr) \
|
||||
if (var) \
|
||||
delete var; \
|
||||
\
|
||||
var = new name<float>(*this); \
|
||||
@ -2018,7 +2018,7 @@ protected:
|
||||
\
|
||||
virtual void Copy(Variation<float>*& var) const override \
|
||||
{ \
|
||||
if (var != nullptr) \
|
||||
if (var) \
|
||||
delete var; \
|
||||
\
|
||||
var = new name<float>(*this); \
|
||||
@ -2049,7 +2049,7 @@ protected:
|
||||
\
|
||||
virtual void Copy(Variation<float>*& var) const override \
|
||||
{ \
|
||||
if (var != nullptr) \
|
||||
if (var) \
|
||||
delete var; \
|
||||
\
|
||||
var = new name<float>(*this); \
|
||||
|
Reference in New Issue
Block a user