Commit e2aa9961 authored by Tim Beaulen's avatar Tim Beaulen

Fix crash.

m_exampleText was not initialized.


svn path=/trunk/KDE/kdemultimedia/juk/; revision=595705
parent 7f78b74c
...@@ -240,6 +240,8 @@ FileRenamerWidget::FileRenamerWidget(QWidget *parent) : ...@@ -240,6 +240,8 @@ FileRenamerWidget::FileRenamerWidget(QWidget *parent) :
CategoryReaderInterface(), CategoryReaderInterface(),
m_exampleFromFile(false) m_exampleFromFile(false)
{ {
setupUi(this);
QLabel *temp = new QLabel(0); QLabel *temp = new QLabel(0);
QPalette palette; QPalette palette;
palette.setColor(m_exampleText->backgroundRole(), temp->palette().color(backgroundRole())); palette.setColor(m_exampleText->backgroundRole(), temp->palette().color(backgroundRole()));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment