mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-11-03 19:41:22 +03:00
chore!: remove debug option
We don't need this option now, since we are using the Qt Logging Category.
This commit is contained in:
parent
04d7fa9cb5
commit
c30e8377b9
@ -10,11 +10,6 @@
|
||||
<!-- Use group name provided by the KWin Scripting -->
|
||||
<group name="Script-bismuth">
|
||||
<!-- This is basically copy-paste from the old configuration file -->
|
||||
<entry name="debug" type="Bool">
|
||||
<label>Enable logging</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
|
||||
<entry name="enableTileLayout" type="Bool">
|
||||
<label>Enable/disable Tile layout</label>
|
||||
<default>true</default>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
install(
|
||||
FILES old_conf_ui.upd shortcuts_category.upd
|
||||
FILES old_conf_ui.upd shortcuts_category.upd new_logger.upd
|
||||
DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR}
|
||||
)
|
||||
install(
|
||||
|
9
src/config/kconf_update/new_logger.upd
Normal file
9
src/config/kconf_update/new_logger.upd
Normal file
@ -0,0 +1,9 @@
|
||||
# SPDX-FileCopyrightText: 2021 Mikhail Zolotukhin <mail@genda.life>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
# Deletes the enable debug flag
|
||||
Version=5
|
||||
Id=bismuth-new-logger
|
||||
File=kwinrc
|
||||
Group=Script-bismuth
|
||||
RemoveKey=debug
|
@ -103,8 +103,6 @@ QJSValue TSProxy::jsConfig()
|
||||
setStrArrayProp("ignoreActivity", m_config.ignoreActivity());
|
||||
setStrArrayProp("ignoreScreen", m_config.ignoreScreen(), true);
|
||||
|
||||
setProp("debugEnabled", m_config.debug());
|
||||
|
||||
return configJSObject;
|
||||
}
|
||||
|
||||
|
@ -49,6 +49,4 @@ export interface Config {
|
||||
ignoreActivity: string[];
|
||||
ignoreScreen: number[];
|
||||
//#endregion
|
||||
|
||||
debugEnabled: boolean;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user