diff --git a/GUI/Model/Sample/SampleValidator.cpp b/GUI/Model/Sample/SampleValidator.cpp index 5232b490f5eab7043108f22c5b5728f23919ebed..91c515659d35ed0c817dfb01987bd2140abdb78a 100644 --- a/GUI/Model/Sample/SampleValidator.cpp +++ b/GUI/Model/Sample/SampleValidator.cpp @@ -36,24 +36,6 @@ void SampleValidator::validateItem(const ItemWithParticles* item) void SampleValidator::validateInterferences(const LayerItem* layer) { ASSERT(layer); -#ifdef WIN32 - - int iLayout = 0; - for (const auto* layout : layer->layoutItems()) { - iLayout++; - if (const auto* c = dynamic_cast<const Interference2DAbstractLatticeItem*>( - layout->interferenceSelection().currentItem())) - if (c->xiIntegration()) { - const QString message = - QString("Interference function of layer '%1', Particle layout %2: " - "Integration over Xi is currently not supported " - "under Windows") - .arg(layer->layerName()) - .arg(iLayout); - addMessage(message); - } - } -#endif } void SampleValidator::addMessage(const QString& m)