mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-01 07:39:11 +00:00
[Linux] Add Qr-Code to sync irk and enc key (#142)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "deviceinfo.hpp"
|
||||
#include "ble/blemanager.h"
|
||||
#include "ble/bleutils.h"
|
||||
#include "QRCodeImageProvider.hpp"
|
||||
|
||||
using namespace AirpodsTrayApp::Enums;
|
||||
|
||||
@@ -940,6 +941,7 @@ int main(int argc, char *argv[]) {
|
||||
qmlRegisterType<DeviceInfo>("me.kavishdevar.DeviceInfo", 1, 0, "DeviceInfo");
|
||||
AirPodsTrayApp *trayApp = new AirPodsTrayApp(debugMode, hideOnStart, &engine);
|
||||
engine.rootContext()->setContextProperty("airPodsTrayApp", trayApp);
|
||||
engine.addImageProvider("qrcode", new QRCodeImageProvider());
|
||||
trayApp->loadMainModule();
|
||||
|
||||
QLocalServer server;
|
||||
|
||||
Reference in New Issue
Block a user