Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/histogram/histogram.cc
Context not available. | |||||
49 | void Histogram::slotActivated() | 49 | void Histogram::slotActivated() | ||
---|---|---|---|---|---|
50 | { | 50 | { | ||
51 | DlgHistogram * dlgHistogram = new DlgHistogram(m_view->mainWindow(), "Histogram"); | 51 | DlgHistogram * dlgHistogram = new DlgHistogram(m_view->mainWindow(), "Histogram"); | ||
52 | | ||||
52 | Q_CHECK_PTR(dlgHistogram); | 53 | Q_CHECK_PTR(dlgHistogram); | ||
53 | 54 | | |||
54 | KisLayerSP layer = m_view->nodeManager()->activeLayer(); | 55 | KisLayerSP layer = m_view->nodeManager()->activeLayer(); | ||
Context not available. | |||||
61 | if (dlgHistogram->exec() == QDialog::Accepted) { | 62 | if (dlgHistogram->exec() == QDialog::Accepted) { | ||
62 | // Do nothing; this is an informational dialog | 63 | // Do nothing; this is an informational dialog | ||
63 | } | 64 | } | ||
64 | | ||||
65 | | ||||
66 | } | 65 | } | ||
67 | delete dlgHistogram; | 66 | delete dlgHistogram; | ||
68 | } | 67 | } | ||
Context not available. |