Skip to content
Snippets Groups Projects
Commit 45b57330 authored by Sacha Percot-Tétu's avatar Sacha Percot-Tétu
Browse files

Added missing lines in ColorimetryOp

parent 729d411a
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,8 @@ void ColorimetryOp::operator()(const imagein::Image*, const std::map<const image
ColorDialog* dialog = new ColorDialog(QApplication::activeWindow());
dialog->setWindowTitle(QString(qApp->translate("Operations", "Colorimetry")));
QDialog::DialogCode code = static_cast<QDialog::DialogCode>(dialog->exec());
QColor color = dialog->getColor();
if(code!=QDialog::Accepted) return;
Image* resImg = new Image(512, 512, 3);
for(unsigned int j = 0; j < resImg->getHeight(); ++j) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment