[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kget
From: Matthias Fuchs <mat69 () gmx ! net>
Date: 2011-02-04 18:15:32
Message-ID: 20110204181532.7C084AC8C5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1218796 by mfuchs:
Fowardport r1218795
When DropTarget is destructed the config is always written.
By default the drop target will appear in the middle of the screen.
CCBUG:265185
M +3 -1 conf/kget.kcfg
M +1 -0 ui/droptarget.cpp
--- trunk/KDE/kdenetwork/kget/conf/kget.kcfg #1218795:1218796
@@ -167,7 +167,9 @@
<entry name="MainState" type="Int">
<default>0</default>
</entry>
- <entry name="DropPosition" type="Point"/>
+ <entry name="DropPosition" type="Point">
+ <default code="true">QPoint(-1, -1)</default>
+ </entry>
<entry name="DropSticky" type="Bool">
<default>0</default>
</entry>
--- trunk/KDE/kdenetwork/kget/ui/droptarget.cpp #1218795:1218796
@@ -119,6 +119,7 @@
{
Settings::setDropPosition( pos() );
Settings::setShowDropTarget( !isHidden() );
+ Settings::self()->writeConfig();
// unsigned long state = KWindowSystem::windowInfo(kdrop->winId()).state();
// // state will be 0L if droptarget is hidden. Sigh.
// config->writeEntry("State", state ? state : DEFAULT_DOCK_STATE );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic