[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Btelepathy-chat-handler=5D_lib=3A_Fix_a_bug_where_a_?=
From: David Edmundson <kde () davidedmundson ! co ! uk>
Date: 2011-04-03 12:03:01
Message-ID: 20110403120301.33B7FA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 5ead66a170071e3db557d25fc49e030637680a85 by David Edmundson.
Committed on 03/04/2011 at 13:56.
Pushed by davidedmundson into branch 'master'.
Fix a bug where a user can drag a URL over the main message view and the chat disappears.
Review by Martin Klapetek
M +3 -1 lib/adium-theme-view.cpp
http://commits.kde.org/telepathy-chat-handler/5ead66a170071e3db557d25fc49e030637680a85
diff --git a/lib/adium-theme-view.cpp b/lib/adium-theme-view.cpp
index 56d82da..3cd889f 100644
--- a/lib/adium-theme-view.cpp
+++ b/lib/adium-theme-view.cpp
@@ -50,8 +50,10 @@ AdiumThemeView::AdiumThemeView(QWidget *parent)
m_defaultAvatar(KIconLoader::global()->iconPath("im-user",-KIconLoader::SizeLarge)),
m_displayHeader(true)
{
- //determine the chat window style to use (from the Kopete config file).
+ //blocks QWebView functionality which allows you to change page by dragging a URL onto it.
+ setAcceptDrops(false);
+ //determine the chat window style to use (from the Kopete config file).
KSharedConfigPtr config = KSharedConfig::openConfig("ktelepathyrc");
KConfigGroup appearanceConfig = config->group("Appearance");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic