From b3d302acf4346e473f779933ca242df60da323a9 Mon Sep 17 00:00:00 2001
From: Scharel Clemens
Date: Tue, 4 Dec 2018 17:24:45 +0100
Subject: [PATCH] Allow landscape orientation
---
qml/pages/AboutPage.qml | 2 ++
qml/pages/EditPage.qml | 2 ++
qml/pages/GPLLicense.qml | 2 ++
qml/pages/LoginDialog.qml | 2 ++
qml/pages/MITLicense.qml | 2 ++
qml/pages/NotePage.qml | 2 ++
qml/pages/NotesPage.qml | 2 ++
qml/pages/SettingsPage.qml | 2 ++
qml/pages/UnencryptedDialog.qml | 2 ++
rpm/harbour-nextcloudnotes.changes | 1 +
10 files changed, 19 insertions(+)
diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml
index 0dbcd91..cc29a3e 100644
--- a/qml/pages/AboutPage.qml
+++ b/qml/pages/AboutPage.qml
@@ -64,4 +64,6 @@ Page {
VerticalScrollDecorator {}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/EditPage.qml b/qml/pages/EditPage.qml
index 70850f7..3154e21 100644
--- a/qml/pages/EditPage.qml
+++ b/qml/pages/EditPage.qml
@@ -106,4 +106,6 @@ Dialog {
VerticalScrollDecorator {}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/GPLLicense.qml b/qml/pages/GPLLicense.qml
index 91a7a4c..000cb69 100644
--- a/qml/pages/GPLLicense.qml
+++ b/qml/pages/GPLLicense.qml
@@ -110,4 +110,6 @@ NO WARRANTY
}
}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/LoginDialog.qml b/qml/pages/LoginDialog.qml
index 70ab0e1..135d8d5 100644
--- a/qml/pages/LoginDialog.qml
+++ b/qml/pages/LoginDialog.qml
@@ -137,4 +137,6 @@ Dialog {
}*/
}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/MITLicense.qml b/qml/pages/MITLicense.qml
index 593a077..b953752 100644
--- a/qml/pages/MITLicense.qml
+++ b/qml/pages/MITLicense.qml
@@ -43,4 +43,6 @@ SOFTWARE.
"
}
}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/NotePage.qml b/qml/pages/NotePage.qml
index 40b6bc1..71d2fb2 100644
--- a/qml/pages/NotePage.qml
+++ b/qml/pages/NotePage.qml
@@ -197,4 +197,6 @@ Dialog {
VerticalScrollDecorator {}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/NotesPage.qml b/qml/pages/NotesPage.qml
index a01ae80..3c8260c 100644
--- a/qml/pages/NotesPage.qml
+++ b/qml/pages/NotesPage.qml
@@ -258,4 +258,6 @@ Page {
VerticalScrollDecorator { flickable: notesList }
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/SettingsPage.qml b/qml/pages/SettingsPage.qml
index 3019ad8..b37b27d 100644
--- a/qml/pages/SettingsPage.qml
+++ b/qml/pages/SettingsPage.qml
@@ -187,4 +187,6 @@ Page {
VerticalScrollDecorator {}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/qml/pages/UnencryptedDialog.qml b/qml/pages/UnencryptedDialog.qml
index 4c52811..66906ac 100644
--- a/qml/pages/UnencryptedDialog.qml
+++ b/qml/pages/UnencryptedDialog.qml
@@ -31,4 +31,6 @@ Dialog {
}
}
}
+
+ allowedOrientations: defaultAllowedOrientations
}
diff --git a/rpm/harbour-nextcloudnotes.changes b/rpm/harbour-nextcloudnotes.changes
index a887872..13272ba 100644
--- a/rpm/harbour-nextcloudnotes.changes
+++ b/rpm/harbour-nextcloudnotes.changes
@@ -18,6 +18,7 @@
- Added: Option for capital X in checkboxes
- Improved markdown parsing (espessialy lists, tables and images)
- Added auto prepend for ordered lists
+- Allow landscape orientation
* Tue Dec 04 2018 Scharel Clemens 0.1-5
- Implemented auto prepend for list elements