diff options
Diffstat (limited to 'utils/themeeditor/gui/devicestate.cpp')
| -rw-r--r-- | utils/themeeditor/gui/devicestate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themeeditor/gui/devicestate.cpp b/utils/themeeditor/gui/devicestate.cpp index ef9d666..3933926 100644 --- a/utils/themeeditor/gui/devicestate.cpp +++ b/utils/themeeditor/gui/devicestate.cpp @@ -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++) { |