mirror of
https://github.com/redstrate/CatPaw.git
synced 2025-04-20 03:37:46 +00:00
Fix config window
This commit is contained in:
parent
bf9424116d
commit
9a01b96dc0
3 changed files with 4 additions and 5 deletions
|
@ -18,7 +18,6 @@ using namespace KWin;
|
|||
|
||||
CatPawEffect::CatPawEffect()
|
||||
{
|
||||
CatPawConfig::instance(effects->config());
|
||||
effects->hideCursor();
|
||||
|
||||
reconfigure(ReconfigureAll);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||
<kcfgfile arg="true"/>
|
||||
<kcfgfile name="kwinrc"/>
|
||||
<group name="Effect-catpaw">
|
||||
<entry name="KittyColor" type="Color">
|
||||
<default code="true">QColor(Qt::white)</default>
|
||||
|
|
|
@ -16,18 +16,18 @@
|
|||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="button1_label">
|
||||
<property name="text">
|
||||
<string>&Kitty Color:</string>
|
||||
<string>Kitty Color:</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>kcfg_Color1</cstring>
|
||||
<cstring>kcfg_KittyColor</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="KColorCombo" name="kcfg_kittyColor">
|
||||
<widget class="KColorCombo" name="kcfg_KittyColor">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
|
|
Loading…
Add table
Reference in a new issue