| 10470 | the registration and returns false. |
| 10471 | */ |
| 10472 | bool QCPSelectionDecorator::registerWithPlottable(QCPAbstractPlottable *plottable) |
| 10473 | { |
| 10474 | if (!mPlottable) |
| 10475 | { |
| 10476 | mPlottable = plottable; |
| 10477 | return true; |
| 10478 | } else |
| 10479 | { |
| 10480 | qDebug() << Q_FUNC_INFO << "This selection decorator is already registered with plottable:" << reinterpret_cast<quintptr>(mPlottable); |
| 10481 | return false; |
| 10482 | } |
| 10483 | } |
| 10484 | |
| 10485 | |
| 10486 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
no outgoing calls
no test coverage detected