diff --git a/src/appsettings.cpp b/src/appsettings.cpp
index 6f02719..f2a6a67 100644
--- a/src/appsettings.cpp
+++ b/src/appsettings.cpp
@@ -43,7 +43,6 @@ namespace {
AppSettings::AppSettings(QObject *parent) : QObject(parent), settings("harbour-fernschreiber", "settings")
{
- getAutoRun() ? initializeAutoRun() : disableAutoRun();
}
bool AppSettings::getSendByEnter() const
diff --git a/src/stayawakeadaptor.cpp b/src/stayawakeadaptor.cpp
index bf7bb6f..fbb4589 100644
--- a/src/stayawakeadaptor.cpp
+++ b/src/stayawakeadaptor.cpp
@@ -33,6 +33,11 @@ void StayAwakeAdaptor::setAppView(QQuickView *appView)
this->appView = appView;
}
+void StayAwakeAdaptor::sendToBackground()
+{
+ LOG("Minimize appo! But how?");
+}
+
bool StayAwakeAdaptor::showUI()
{
LOG("UI shall wake up!");
diff --git a/src/stayawakeadaptor.h b/src/stayawakeadaptor.h
index 08ae774..b67db4a 100644
--- a/src/stayawakeadaptor.h
+++ b/src/stayawakeadaptor.h
@@ -35,6 +35,7 @@ public:
StayAwakeAdaptor(QObject *parent);
void setAppView(QQuickView* appView);
+ Q_INVOKABLE void sendToBackground();
public slots:
bool showUI();
diff --git a/translations/harbour-fernschreiber-de.ts b/translations/harbour-fernschreiber-de.ts
index 3e16983..313cd58 100644
--- a/translations/harbour-fernschreiber-de.ts
+++ b/translations/harbour-fernschreiber-de.ts
@@ -1296,19 +1296,19 @@
-
+ Im Hintergrund bleiben
-
+ Fernschreiber wird im Hintergrund aktiv bleiben nachdem die App geschlossen wurde
-
+ Automatischer Start
-
+ Fernschreiber wird automatisch gestartet während das Gerät hochgefahren wird.
diff --git a/translations/harbour-fernschreiber-en.ts b/translations/harbour-fernschreiber-en.ts
index b00d677..541cead 100644
--- a/translations/harbour-fernschreiber-en.ts
+++ b/translations/harbour-fernschreiber-en.ts
@@ -1296,19 +1296,19 @@
-
+ Stay in background
-
+ Fernschreiber will stay active in the background after the app was closed
-
+ Autorun at startup
-
+ Fernschreiber will automatically be run at startup