[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/knotes
From:       Michael Brade <brade () kde ! org>
Date:       2005-04-11 20:53:44
Message-ID: 20050411205344.DBB2D5FA () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Also save the note's position when hiding it and restore them properly.
Strange that no one noticed, I guess KWin used to store the position?


  M +4 -0      ChangeLog   1.104
  M +2 -0      knote.cpp   1.148


--- kdepim/knotes/ChangeLog  #1.103:1.104
@@ -2,4 +2,8 @@
 ====================
 
+2005/04/11  Michael Brade <brade@kde.org>
+
+    * fixed #101875: also save the note's position when hiding it
+
 2005/02/21  Michael Brade <brade@kde.org>
 

--- kdepim/knotes/knote.cpp  #1.147:1.148
@@ -590,4 +590,5 @@ void KNote::slotClose()
     m_editor->clearFocus();
     m_config->setHideNote( true );
+    m_config->setPosition( pos() );
 
     // just hide the note so it's still available from the dock window
@@ -1007,4 +1008,5 @@ void KNote::showEvent( QShowEvent * )
         slotUpdateShowInTaskbar();
         toDesktop( m_config->desktop() );
+        move( m_config->position() );
         m_config->setHideNote( false );
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic