Hello community,

here is the log from the commit of package yast2-qt for openSUSE:Factory 
checked in at 2011-12-07 21:41:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-qt (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-qt", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-qt/yast2-qt.changes        2011-10-04 
18:02:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-qt.new/yast2-qt.changes   2011-12-07 
21:41:27.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec  1 17:46:33 CET 2011 - [email protected]
+
+- Follow links to anchors in YQTextBrowser (bnc #727330)
+- V 2.22.0
+
+-------------------------------------------------------------------

Old:
----
  yast2-qt-2.21.7.tar.bz2

New:
----
  yast2-qt-2.22.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-qt.spec ++++++
--- /var/tmp/diff_new_pack.5EnyJm/_old  2011-12-07 21:41:29.000000000 +0100
+++ /var/tmp/diff_new_pack.5EnyJm/_new  2011-12-07 21:41:29.000000000 +0100
@@ -18,13 +18,13 @@
 
 
 Name:           yast2-qt
-Version:        2.21.7
+Version:        2.22.0
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-qt-2.21.7.tar.bz2
+Source0:        yast2-qt-2.22.0.tar.bz2
 Group:          System/YaST
-License:        GPL v2 or later
+License:        GPL-2.0+
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  doxygen
 BuildRequires:  libdrm-devel

++++++ yast2-qt-2.21.7.tar.bz2 -> yast2-qt-2.22.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-qt-2.21.7/VERSION.cmake 
new/yast2-qt-2.22.0/VERSION.cmake
--- old/yast2-qt-2.21.7/VERSION.cmake   2011-10-04 10:32:24.000000000 +0200
+++ new/yast2-qt-2.22.0/VERSION.cmake   2011-12-01 17:50:01.000000000 +0100
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "2")
-SET(VERSION_MINOR "21")
-SET(VERSION_PATCH "7")
+SET(VERSION_MINOR "22")
+SET(VERSION_PATCH "0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-qt-2.21.7/package/yast2-qt.changes 
new/yast2-qt-2.22.0/package/yast2-qt.changes
--- old/yast2-qt-2.21.7/package/yast2-qt.changes        2011-10-04 
10:32:24.000000000 +0200
+++ new/yast2-qt-2.22.0/package/yast2-qt.changes        2011-12-01 
17:50:01.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Dec  1 17:46:33 CET 2011 - [email protected]
+
+- Follow links to anchors in YQTextBrowser (bnc #727330)
+- V 2.22.0
+
+-------------------------------------------------------------------
 Tue Oct  4 10:25:15 CEST 2011 - [email protected]
 
 - Don't overwrite wizard's dialog title
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-qt-2.21.7/src/YQRichText.cc 
new/yast2-qt-2.22.0/src/YQRichText.cc
--- old/yast2-qt-2.21.7/src/YQRichText.cc       2011-10-04 10:32:24.000000000 
+0200
+++ new/yast2-qt-2.22.0/src/YQRichText.cc       2011-12-01 17:50:01.000000000 
+0100
@@ -235,6 +235,16 @@
     return true;
 }
 
+void YQTextBrowser::setSource( const QUrl & name )
+{
+    // scroll to link if it's available in the current document
+    // but prevent loading empty pages
+
+    if ( name.toString().startsWith("#") )
+       scrollToAnchor( name.toString().mid(1) );
+
+}
+
 
 
 #include "YQRichText.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-qt-2.21.7/src/YQRichText.h 
new/yast2-qt-2.22.0/src/YQRichText.h
--- old/yast2-qt-2.21.7/src/YQRichText.h        2011-10-04 10:32:24.000000000 
+0200
+++ new/yast2-qt-2.22.0/src/YQRichText.h        2011-12-01 17:50:01.000000000 
+0100
@@ -189,7 +189,7 @@
      * Reimplemented from QTextBrowser to avoid having an empty text each time
      * the user clicks on a hyperlink.
      **/
-    virtual void setSource( const QUrl & name ) {}
+    virtual void setSource( const QUrl & name );
 };
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-qt-2.21.7/yast2-qt.spec.in 
new/yast2-qt-2.22.0/yast2-qt.spec.in
--- old/yast2-qt-2.21.7/yast2-qt.spec.in        2011-10-04 10:32:24.000000000 
+0200
+++ new/yast2-qt-2.22.0/yast2-qt.spec.in        2011-12-01 17:50:01.000000000 
+0100
@@ -3,7 +3,7 @@
 
 @HEADER@
 Group: System/YaST
-License: GPL v2 or later
+License: GPL-2.0+
 BuildRequires: docbook-xsl-stylesheets 
 BuildRequires: doxygen 
 BuildRequires: libdrm-devel 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to