ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Kdenlive-0.2.4 bugfix patch
@ 2005-03-24  8:54 Ruslan Popov
  0 siblings, 0 replies; only message in thread
From: Ruslan Popov @ 2005-03-24  8:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

Доброе время суток.

Данный патч устраняет вылетание программы при попытке пользователя потаскать папку с клипами.
Наслаждайтесь :)
-- 
            _/               Ruslan Popov
           _/   _/_/   _/
          _/  _/  _/  _/     Engineer
         _/ _/_/_/_/ _/_/    Mobile: +7 (916) 926-хх-хх
        _/ _/       _/       Office: +7 (095) 411-76-01
    _/_/   _/_/_/  _/        E-mail: rpopov@jet.msk.su
     Infosystems   _/_/      Moscow, Russia

[-- Attachment #2: kdenlive-0.2.4-bugfix.patch --]
[-- Type: text/x-patch, Size: 735 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-24  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24  8:54 [sisyphus] Kdenlive-0.2.4 bugfix patch Ruslan Popov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git