[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:24:31 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=ea8e893

The following commit has been merged in the master branch:
commit ea8e89329e9a46d13e44579e187bdac96fada4f1
Author: Daniele E. Domenichelli <daniele.domenichelli at iit.it>
Date:   Fri Apr 11 00:44:03 2014 +0200

    Fix "Inspect" action not showing on group chats.
    
    Don't ask me, I don't know
---
 lib/adium-theme-view.cpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/adium-theme-view.cpp b/lib/adium-theme-view.cpp
index 99cc852..350e2b0 100644
--- a/lib/adium-theme-view.cpp
+++ b/lib/adium-theme-view.cpp
@@ -236,6 +236,11 @@ void AdiumThemeView::initialise(const AdiumThemeHeaderInfo &chatInfo)
         settings()->setFontSize(QWebSettings::DefaultFontSize, qFloor(0.5 + m_chatStyle->defaultFontSize() * (QApplication::desktop()->logicalDpiY() / 96.0 )));
     }
 
+    //hidden HTML debugging mode. Should have no visible way to turn it on.
+    if (m_webInspector) {
+        QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
+    }
+
     //The templateHtml is in a horrific NSString format.
     //Want to use this rather than roll our own, as that way we can get templates from themes too
     //"%@" is each argument.
@@ -302,10 +307,6 @@ void AdiumThemeView::initialise(const AdiumThemeHeaderInfo &chatInfo)
 
     setHtml(templateHtml);
 
-    //hidden HTML debugging mode. Should have no visible way to turn it on.
-    if (m_webInspector) {
-        QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
-    }
 }
 
 void AdiumThemeView::setVariant(const QString &variant)

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list