Skip to content

Commit bb35b9e

Browse files
committed
add debug button to settings window
1 parent 3b0ecf0 commit bb35b9e

File tree

9 files changed

+27
-6
lines changed

9 files changed

+27
-6
lines changed

always-open-on-active-screen/contents/code/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GNU General Public License v3.0
55
*/
66

77
// initialization
8-
const debugMode = readConfig("debugMode", true);
8+
const debugMode = readConfig("debugMode", false);
99
function debug(...args) {if (debugMode)
1010
console.debug("alwaysopenonactivescreen:", ...args);}
1111
debug("initializing");

always-open-on-active-screen/contents/config/main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<entry name="denymode" type="Bool">
1616
<default>true</default>
1717
</entry>
18-
<entry name="debugMode" type="bool">
18+
<entry name="debugMode" type="Bool">
1919
<label>Whether to log debug information</label>
2020
<default>false</default>
2121
</entry>

always-open-on-active-screen/contents/ui/config.ui

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656
</widget>
5757
</widget>
5858
</item>
59+
<item>
60+
<widget class="QCheckBox" name="kcfg_debugMode">
61+
<property name="text">
62+
<string notr="true">DebugMode</string>
63+
</property>
64+
</widget>
65+
</item>
5966
</layout>
6067
</widget>
6168
<resources/>

always-open-on-focused-screen/contents/code/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GNU General Public License v3.0
55
*/
66

77
// initialization
8-
const debugMode = readConfig("debugMode", true);
8+
const debugMode = readConfig("debugMode", false);
99
function debug(...args) {if (debugMode)
1010
console.debug("alwaysopenonfocusedscreen:", ...args);}
1111
debug("initializing");

always-open-on-focused-screen/contents/config/main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<entry name="denymode" type="Bool">
1616
<default>true</default>
1717
</entry>
18-
<entry name="debugMode" type="bool">
18+
<entry name="debugMode" type="Bool">
1919
<label>Whether to log debug information</label>
2020
<default>false</default>
2121
</entry>

always-open-on-focused-screen/contents/ui/config.ui

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656
</widget>
5757
</widget>
5858
</item>
59+
<item>
60+
<widget class="QCheckBox" name="kcfg_debugMode">
61+
<property name="text">
62+
<string notr="true">DebugMode</string>
63+
</property>
64+
</widget>
65+
</item>
5966
</layout>
6067
</widget>
6168
<resources/>

always-open-on-primary-screen/contents/code/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ GNU General Public License v3.0
55
*/
66

77
// initialization
8-
const debugMode = readConfig("debugMode", true);
8+
const debugMode = readConfig("debugMode", false);
99
function debug(...args) {if (debugMode)
1010
console.debug("alwaysopenonprimaryscreen:", ...args);}
1111
debug("initializing");

always-open-on-primary-screen/contents/config/main.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<entry name="denymode" type="Bool">
1616
<default>true</default>
1717
</entry>
18-
<entry name="debugMode" type="bool">
18+
<entry name="debugMode" type="Bool">
1919
<label>Whether to log debug information</label>
2020
<default>false</default>
2121
</entry>

always-open-on-primary-screen/contents/ui/config.ui

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@
5656
</widget>
5757
</widget>
5858
</item>
59+
<item>
60+
<widget class="QCheckBox" name="kcfg_debugMode">
61+
<property name="text">
62+
<string notr="true">DebugMode</string>
63+
</property>
64+
</widget>
65+
</item>
5966
</layout>
6067
</widget>
6168
<resources/>

0 commit comments

Comments
 (0)