chore!: remove debug option

We don't need this option now, since we are using the Qt Logging
Category.
This commit is contained in:
Mikhail Zolotukhin 2022-02-10 16:24:05 +03:00
parent 04d7fa9cb5
commit c30e8377b9
5 changed files with 10 additions and 10 deletions

View File

@ -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>

View File

@ -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(

View 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

View File

@ -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;
}

View File

@ -49,6 +49,4 @@ export interface Config {
ignoreActivity: string[];
ignoreScreen: number[];
//#endregion
debugEnabled: boolean;
}