Skip to content

Commit f8ca03a

Browse files
Johnny CarlsonJohnny Carlson
authored andcommitted
qml/test: add fake qt.bitcoincore.org module
1 parent fbb5694 commit f8ca03a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
pragma Singleton
2+
import QtQuick 2.15
3+
4+
Item {
5+
property bool isDesktop: true
6+
property bool isMobile: false
7+
enum Mode {
8+
DESKTOP,
9+
MOBILE
10+
}
11+
property string state: "MOBILE"
12+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module org.bitcoincore.qt
2+
singleton AppMode 1.0 AppMode.qml

0 commit comments

Comments
 (0)