ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ruslan Popov <rpopov@jet.msk.su>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] Kdenlive-0.2.4 bugfix patch
Date: Thu, 24 Mar 2005 11:54:00 +0300
Message-ID: <42428028.9080609@jet.msk.su> (raw)

[-- 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

                 reply	other threads:[~2005-03-24  8:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42428028.9080609@jet.msk.su \
    --to=rpopov@jet.msk.su \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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