Mailinglist Archive: opensuse-bugs (5637 mails)
| < Previous | Next > |
[Bug 346129] Too many wizard steps visible for some languages
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Tue, 11 Dec 2007 08:39:34 -0700 (MST)
- Message-id: <20071211153934.8B73124538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=346129
User sh@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=346129#c10
Stefan Hundhammer <sh@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Stefan Hundhammer <sh@xxxxxxxxxx> 2007-12-11 08:39:34 MST
---
Fixed. Buggy string comparison (QString vs. std::string).
And also fixed missing UTF-8 conversion for the steps headings.
Index: YQWizard.cc
===================================================================
--- YQWizard.cc (Revision 42918)
+++ YQWizard.cc (Arbeitskopie)
@@ -403,7 +403,7 @@
return;
}
- if ( _stepsList.last() && _stepsList.last()->name() == text )
+ if ( _stepsList.last() && _stepsList.last()->name() == fromUTF8( text ) )
{
// Consecutive steps with the same name will be shown as one single
step.
//
@@ -426,7 +426,7 @@
void YQWizard::addStepHeading( const string & text )
{
- _stepsList.append( new YQWizard::StepHeading( text ) );
+ _stepsList.append( new YQWizard::StepHeading( fromUTF8( text ) ) );
_stepsDirty = true;
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User sh@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=346129#c10
Stefan Hundhammer <sh@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #10 from Stefan Hundhammer <sh@xxxxxxxxxx> 2007-12-11 08:39:34 MST
---
Fixed. Buggy string comparison (QString vs. std::string).
And also fixed missing UTF-8 conversion for the steps headings.
Index: YQWizard.cc
===================================================================
--- YQWizard.cc (Revision 42918)
+++ YQWizard.cc (Arbeitskopie)
@@ -403,7 +403,7 @@
return;
}
- if ( _stepsList.last() && _stepsList.last()->name() == text )
+ if ( _stepsList.last() && _stepsList.last()->name() == fromUTF8( text ) )
{
// Consecutive steps with the same name will be shown as one single
step.
//
@@ -426,7 +426,7 @@
void YQWizard::addStepHeading( const string & text )
{
- _stepsList.append( new YQWizard::StepHeading( text ) );
+ _stepsList.append( new YQWizard::StepHeading( fromUTF8( text ) ) );
_stepsDirty = true;
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |