1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Fixed some compiler warnings and a segfault. Got some basic text rendering working (only with plaintext elements, no font support yet) as well as Viewport background color support

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27126 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-06-25 05:14:13 +00:00
parent 691d049177
commit 273b9d6050
9 changed files with 70 additions and 15 deletions

View file

@ -44,7 +44,7 @@ DeviceState::DeviceState(QWidget *parent) :
this->setLayout(layout);
/* Loading the tabs */
QScrollArea* currentArea;
QScrollArea* currentArea = 0;
QHBoxLayout* subLayout;
QWidget* panel;
@ -176,7 +176,7 @@ DeviceState::DeviceState(QWidget *parent) :
{
elements = elements[1].trimmed().split(",");
int defIndex;
int defIndex = 0;
QComboBox* temp = new QComboBox(currentArea);
for(int i = 0; i < elements.count(); i++)
{