diff options
Diffstat (limited to 'src/designer/src/components/propertyeditor/paletteeditorbutton.cpp')
-rw-r--r-- | src/designer/src/components/propertyeditor/paletteeditorbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/components/propertyeditor/paletteeditorbutton.cpp b/src/designer/src/components/propertyeditor/paletteeditorbutton.cpp index a31260d9f..f3370a4aa 100644 --- a/src/designer/src/components/propertyeditor/paletteeditorbutton.cpp +++ b/src/designer/src/components/propertyeditor/paletteeditorbutton.cpp @@ -62,7 +62,7 @@ void PaletteEditorButton::setSuperPalette(const QPalette &palette) void PaletteEditorButton::showPaletteEditor() { int result; - QPalette pal = PaletteEditor::getPalette(m_core, 0, m_palette, m_superPalette, &result); + QPalette pal = PaletteEditor::getPalette(m_core, nullptr, m_palette, m_superPalette, &result); if (result == QDialog::Accepted) { m_palette = pal; emit paletteChanged(m_palette); |