Get an ink note's data
| 774 | |
| 775 | // Get an ink note's data |
| 776 | bool ResourceTable::getInkNote(QByteArray &value, qint32 lid) { |
| 777 | QString fileName = global.fileManager.getDbaDirPath()+QString::number(lid)+QString(".png"); |
| 778 | QFile f(fileName); |
| 779 | f.open(QIODevice::ReadOnly); |
| 780 | value = f.readAll(); |
| 781 | if (value.size() > 0) |
| 782 | return true; |
| 783 | return false; |
| 784 | } |
| 785 | |
| 786 | |
| 787 | // Set/unset the index needed flag |
nothing calls this directly
no test coverage detected