mirror of
https://github.com/leozide/leocad
synced 2025-01-13 08:01:38 +01:00
Cleanup.
This commit is contained in:
parent
b77210db22
commit
546ab19785
2 changed files with 6 additions and 11 deletions
|
@ -1,16 +1,10 @@
|
|||
#include "lc_global.h"
|
||||
#include "minifig.h"
|
||||
#include "lc_colors.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "camera.h"
|
||||
#include "pieceinf.h"
|
||||
#include "project.h"
|
||||
#include "lc_model.h"
|
||||
#include "lc_library.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_context.h"
|
||||
#include "lc_scene.h"
|
||||
#include "lc_file.h"
|
||||
#include "lc_profile.h"
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ lcQMinifigDialog::lcQMinifigDialog(QWidget* Parent)
|
|||
|
||||
for (int ItemIndex = 0; ItemIndex < LC_MFW_NUMITEMS; ItemIndex++)
|
||||
{
|
||||
std::vector<lcMinifigPieceInfo>& PartList = mMinifigWizard->mSettings[ItemIndex];
|
||||
const std::vector<lcMinifigPieceInfo>& PartList = mMinifigWizard->mSettings[ItemIndex];
|
||||
QStringList ItemStrings;
|
||||
QVector<int> Separators;
|
||||
|
||||
|
@ -81,10 +81,11 @@ lcQMinifigDialog::lcQMinifigDialog(QWidget* Parent)
|
|||
ItemCombo->setCurrentIndex(mMinifigWizard->GetSelectionIndex(ItemIndex));
|
||||
ItemCombo->blockSignals(false);
|
||||
|
||||
lcQColorPicker *colorPicker = mColorPickers[ItemIndex];
|
||||
colorPicker->blockSignals(true);
|
||||
colorPicker->setCurrentColor(mMinifigWizard->mMinifig.Colors[ItemIndex]);
|
||||
colorPicker->blockSignals(false);
|
||||
lcQColorPicker* ColorPicker = mColorPickers[ItemIndex];
|
||||
|
||||
ColorPicker->blockSignals(true);
|
||||
ColorPicker->setCurrentColor(mMinifigWizard->mMinifig.Colors[ItemIndex]);
|
||||
ColorPicker->blockSignals(false);
|
||||
}
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
|
|
Loading…
Reference in a new issue