Verified Commit 3c7414e6 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Remove webappcontainer mode

I plan to move this into a second project once needed.
parent d949192d
......@@ -288,7 +288,7 @@ Kirigami.ApplicationWindow {
Navigation {
id: navigation
navigationShown: visible && rootPage.navigationAutoShow && webBrowser.visibility !== Window.FullScreen
visible: !webappcontainer && webBrowser.visibility !== Window.FullScreen
visible: webBrowser.visibility !== Window.FullScreen
Kirigami.Theme.colorSet: rootPage.privateMode ? Kirigami.Theme.Complementary : Kirigami.Theme.Window
......
......@@ -56,7 +56,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
// Command line parser
QCommandLineParser parser;
parser.addPositionalArgument("url", i18n("URL to open"), "[url]");
parser.addOption({ "webapp-container", i18n("Start without UI") });
parser.addHelpOption();
parser.process(app);
......@@ -71,8 +70,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
if (!parser.positionalArguments().isEmpty())
initialUrl = QUrl::fromUserInput(parser.positionalArguments().first()).toString();
engine.rootContext()->setContextProperty("webappcontainer", parser.isSet("webapp-container"));
// Exported types
qmlRegisterType<BookmarksHistoryModel>("org.kde.mobile.angelfish", 1, 0, "BookmarksHistoryModel");
qmlRegisterType<UserAgent>("org.kde.mobile.angelfish", 1, 0, "UserAgentGenerator");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment