Mailinglist Archive: yast-commit (590 mails)

< Previous Next >
[yast-commit] r61617 - in /trunk/qt: VERSION.cmake package/yast2-qt.changes src/YQLogView.cc yast2-qt.spec.in
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Thu, 08 Apr 2010 13:49:02 -0000
  • Message-id: <E1Nzs6Q-0004Qn-HJ@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Thu Apr 8 15:49:02 2010
New Revision: 61617

URL: http://svn.opensuse.org/viewcvs/yast?rev=61617&view=rev
Log:
fixed bnc # 463405

Modified:
trunk/qt/VERSION.cmake
trunk/qt/package/yast2-qt.changes
trunk/qt/src/YQLogView.cc
trunk/qt/yast2-qt.spec.in

Modified: trunk/qt/VERSION.cmake
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/VERSION.cmake?rev=61617&r1=61616&r2=61617&view=diff
==============================================================================
--- trunk/qt/VERSION.cmake (original)
+++ trunk/qt/VERSION.cmake Thu Apr 8 15:49:02 2010
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "18")
-SET(VERSION_PATCH "10")
+SET(VERSION_PATCH "11")

Modified: trunk/qt/package/yast2-qt.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/package/yast2-qt.changes?rev=61617&r1=61616&r2=61617&view=diff
==============================================================================
--- trunk/qt/package/yast2-qt.changes (original)
+++ trunk/qt/package/yast2-qt.changes Thu Apr 8 15:49:02 2010
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Apr 8 15:44:13 CEST 2010 - tgoettlicher@xxxxxxx
+
+- Fixed LogView auto scroll (bnc #463405)
+- V 2.18.11
+
+-------------------------------------------------------------------
Thu Mar 18 14:00:01 CET 2010 - tgoettlicher@xxxxxxx

- Added libqt4 dependency (bnc #589104)

Modified: trunk/qt/src/YQLogView.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQLogView.cc?rev=61617&r1=61616&r2=61617&view=diff
==============================================================================
--- trunk/qt/src/YQLogView.cc (original)
+++ trunk/qt/src/YQLogView.cc Thu Apr 8 15:49:02 2010
@@ -92,9 +92,16 @@
void
YQLogView::displayLogText( const string & text )
{
- _qt_text->setPlainText( fromUTF8( text ) );
QScrollBar *sb = _qt_text->verticalScrollBar();
- sb->setValue( sb->maximum() );
+
+ int sbVal = sb->value();
+ int sbMaxVal = sb->maximum();
+ _qt_text->setPlainText( fromUTF8( text ) );
+
+ if ( sbVal != sbMaxVal )
+ sb->setValue( sbVal );
+ else
+ sb->setValue( sb->maximum() );
}



Modified: trunk/qt/yast2-qt.spec.in
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/qt/yast2-qt.spec.in?rev=61617&r1=61616&r2=61617&view=diff
==============================================================================
--- trunk/qt/yast2-qt.spec.in (original)
+++ trunk/qt/yast2-qt.spec.in Thu Apr 8 15:49:02 2010
@@ -15,7 +15,7 @@
BuildRequires: sgml-skel
BuildRequires: update-desktop-files
BuildRequires: cmake
-%requires_eq: libqt4
+%requires_ge libqt4

Summary: YaST2 - Graphical User Interface
BuildRequires: yast2-devtools >= 2.16.3

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages