From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <42428028.9080609@jet.msk.su> Date: Thu, 24 Mar 2005 11:54:00 +0300 From: Ruslan Popov Organization: Jet Infosystems User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040808 X-Accept-Language: en MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list Content-Type: multipart/mixed; boundary="------------020404070408080504040000" Subject: [sisyphus] Kdenlive-0.2.4 bugfix patch X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 08:52:59 -0000 Archived-At: List-Archive: This is a multi-part message in MIME format. --------------020404070408080504040000 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable =E4=CF=C2=D2=CF=C5 =D7=D2=C5=CD=D1 =D3=D5=D4=CF=CB. =E4=C1=CE=CE=D9=CA =D0=C1=D4=DE =D5=D3=D4=D2=C1=CE=D1=C5=D4 =D7=D9=CC=C5=D4= =C1=CE=C9=C5 =D0=D2=CF=C7=D2=C1=CD=CD=D9 =D0=D2=C9 =D0=CF=D0=D9=D4=CB=C5 = =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 =D0=CF=D4=C1=D3=CB=C1=D4=D8 =D0=C1=D0= =CB=D5 =D3 =CB=CC=C9=D0=C1=CD=C9. =EE=C1=D3=CC=C1=D6=C4=C1=CA=D4=C5=D3=D8 :) --=20 _/ Ruslan Popov _/ _/_/ _/ _/ _/ _/ _/ Engineer _/ _/_/_/_/ _/_/ Mobile: +7 (916) 926-=C8=C8-=C8=C8 _/ _/ _/ Office: +7 (095) 411-76-01 _/_/ _/_/_/ _/ E-mail: rpopov@jet.msk.su Infosystems _/_/ Moscow, Russia --------------020404070408080504040000 Content-Type: text/x-patch; name="kdenlive-0.2.4-bugfix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kdenlive-0.2.4-bugfix.patch" diff -uNr kdenlive-0.2.4-orig/kdenlive/projectlistview.cpp kdenlive-0.2.4/kdenlive/projectlistview.cpp --- kdenlive-0.2.4-orig/kdenlive/projectlistview.cpp 2003-12-17 03:14:34 +0300 +++ kdenlive-0.2.4/kdenlive/projectlistview.cpp 2005-03-24 11:50:19 +0300 @@ -56,6 +56,8 @@ /** returns a drag object which is used for drag operations. */ QDragObject *ProjectListView::dragObject() { + if (0 != (QListViewItem *) selectedItem() ->parent()) + { AVListViewItem *item = (AVListViewItem *)selectedItem(); emit dragStarted(item); @@ -64,6 +66,9 @@ return 0; } return new ClipDrag(item->clip(), parentWidget(), "drag object"); + } + else + return 0; } bool ProjectListView::acceptDrag (QDropEvent* event) const --------------020404070408080504040000--