Cppcheck warnings.
This commit is contained in:
parent
c1453f1715
commit
f762d81b38
|
@ -404,8 +404,7 @@ bool MainWindowsNoGUI::GenerateLayout(VLayoutGenerator& lGenerator)
|
|||
|| (nestingState == LayoutErrors::NoError && not qFuzzyIsNull(lGenerator.GetEfficiencyCoefficient())
|
||||
&& efficiency >= lGenerator.GetEfficiencyCoefficient()))
|
||||
{
|
||||
if (not lGenerator.IsPreferOneSheetSolution()
|
||||
|| (lGenerator.IsPreferOneSheetSolution() && lGenerator.PapersCount() == 1))
|
||||
if (not lGenerator.IsPreferOneSheetSolution() || lGenerator.PapersCount() == 1)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace
|
|||
class MultiSelectCompleter : public QCompleter
|
||||
{
|
||||
public:
|
||||
MultiSelectCompleter(QObject* parent=nullptr);
|
||||
explicit MultiSelectCompleter(QObject* parent=nullptr);
|
||||
MultiSelectCompleter(const QStringList& items, QObject* parent=nullptr);
|
||||
virtual ~MultiSelectCompleter() =default;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user