mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 14:51:14 -08:00
revision
This commit is contained in:
parent
3585e7886a
commit
b7e23aec5a
1 changed files with 6 additions and 1 deletions
|
|
@ -191,7 +191,12 @@ void BLE_ME::setBackgroundMode(bool background) {
|
|||
}
|
||||
|
||||
static QString packetsFile() {
|
||||
return QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) + "/../meshtastic-packets.bin";
|
||||
// choose already existing directory
|
||||
QStandardPaths::StandardLocation location = QStandardPaths::AppDataLocation;
|
||||
#ifdef Q_OS_IOS
|
||||
location = QStandardPaths::DocumentsLocation;
|
||||
#endif
|
||||
return QStandardPaths::writableLocation(location) + QStringLiteral("/meshtastic-packets.bin");
|
||||
}
|
||||
|
||||
void BLE_ME::saveBytes(const QByteArray& packet) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue