Commit ae8920d7 authored by Jan Möbius's avatar Jan Möbius

Fixed indentation warning

parent 9f302f8d
...@@ -102,7 +102,7 @@ void texturePropertiesWidget::show(TextureData* _texData, int _id, QString _name ...@@ -102,7 +102,7 @@ void texturePropertiesWidget::show(TextureData* _texData, int _id, QString _name
QTreeWidgetItem* activeItem = 0; QTreeWidgetItem* activeItem = 0;
for (uint i=0; i < texData_->textures().size(); i++) for (unsigned int i=0; i < texData_->textures().size(); i++) {
if ( ! texData_->textures()[i].hidden() ) { if ( ! texData_->textures()[i].hidden() ) {
if ( texData_->textures()[i].type() != MULTITEXTURE ) { if ( texData_->textures()[i].type() != MULTITEXTURE ) {
...@@ -133,13 +133,14 @@ void texturePropertiesWidget::show(TextureData* _texData, int _id, QString _name ...@@ -133,13 +133,14 @@ void texturePropertiesWidget::show(TextureData* _texData, int _id, QString _name
activeItem = parent; activeItem = parent;
} }
} }
}
if ( textureList->invisibleRootItem()->childCount() == 0 ) { if ( textureList->invisibleRootItem()->childCount() == 0 ) {
QMessageBox msgBox(this); QMessageBox msgBox(this);
msgBox.setText("Cannot show Properties. No Textures available!"); msgBox.setText("Cannot show Properties. No Textures available!");
msgBox.exec(); msgBox.exec();
return; return;
} }
if (id_ == -1) if (id_ == -1)
textureLabel->setText("<B>Global Textures</B>"); textureLabel->setText("<B>Global Textures</B>");
......
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