| 373 | } |
| 374 | |
| 375 | void MarkdownNoteEntry::setColor(const QColor &color) { |
| 376 | noteData.color = color; |
| 377 | colorIndicator->setStyleSheet(QString("background-color: %1; border-radius: 2px;") |
| 378 | .arg(color.name())); |
| 379 | } |
| 380 | |
| 381 | void MarkdownNoteEntry::setPreviewMode(bool preview) { |
| 382 | if (previewMode == preview) return; |
no outgoing calls
no test coverage detected