summaryrefslogtreecommitdiff
path: root/noncore
authorzecke <zecke>2003-08-23 09:04:41 (UTC)
committer zecke <zecke>2003-08-23 09:04:41 (UTC)
commit3dff9b4751fa9b63ddfd2527ec68add7fafb599d (patch) (unidiff)
treec55f593f50f2949ae8ce6e1e374579a238487f8b /noncore
parenta8859fac97c0b3255a261221d2b31ebedb56075c (diff)
downloadopie-3dff9b4751fa9b63ddfd2527ec68add7fafb599d.zip
opie-3dff9b4751fa9b63ddfd2527ec68add7fafb599d.tar.gz
opie-3dff9b4751fa9b63ddfd2527ec68add7fafb599d.tar.bz2
Forward port of the label fix
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/sysinfo/versioninfo.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/settings/sysinfo/versioninfo.cpp b/noncore/settings/sysinfo/versioninfo.cpp
index 801af29..be24baa 100644
--- a/noncore/settings/sysinfo/versioninfo.cpp
+++ b/noncore/settings/sysinfo/versioninfo.cpp
@@ -60,12 +60,13 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
60 QString v; 60 QString v;
61 t >> v; t >> v; t >> v; 61 t >> v; t >> v; t >> v;
62 v = v.left( 20 ); 62 v = v.left( 20 );
63 kernelVersionString = tr( "<b>Linux Kernel</b><p>Version: " ); 63 kernelVersionString = "<qt>"+tr( "<b>Linux Kernel</b><p>Version: " );
64 kernelVersionString.append( v ); 64 kernelVersionString.append( v );
65 kernelVersionString.append( "<p>" ); 65 kernelVersionString.append( "<p>" );
66 t >> v; 66 t >> v;
67 kernelVersionString.append( tr( "Compiled by: " ) ); 67 kernelVersionString.append( tr( "Compiled by: " ) );
68 kernelVersionString.append( v ); 68 kernelVersionString.append( v );
69 kernelVersionString.append("</qt>");
69 file.close(); 70 file.close();
70 } 71 }
71 72
@@ -77,11 +78,12 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
77#else 78#else
78 QString builder = "Unknown"; 79 QString builder = "Unknown";
79#endif 80#endif
80 palmtopVersionString.append( tr( "Compiled by: " ) ); 81 palmtopVersionString.append( "<qt>"+ tr( "Compiled by: " ) );
81 palmtopVersionString.append( builder ); 82 palmtopVersionString.append( builder );
82 palmtopVersionString.append( "<p>" ); 83 palmtopVersionString.append( "<p>" );
83 palmtopVersionString.append( tr( "Built on: " ) ); 84 palmtopVersionString.append( tr( "Built on: " ) );
84 palmtopVersionString.append( __DATE__ ); 85 palmtopVersionString.append( __DATE__ );
86 palmtopVersionString.append( "</qt>" );
85 87
86 88
87 QHBoxLayout *hb1 = new QHBoxLayout( vb ); 89 QHBoxLayout *hb1 = new QHBoxLayout( vb );
@@ -130,7 +132,7 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
130 palmtopLogo3->setFixedSize( 60, 60 ); 132 palmtopLogo3->setFixedSize( 60, 60 );
131 hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft ); 133 hb3->addWidget( palmtopLogo3, 0, Qt::AlignTop + Qt::AlignLeft );
132 134
133 QString systemString = "<b>"; 135 QString systemString = "<qt><b>";
134 systemString.append( ODevice::inst()->systemString() ); 136 systemString.append( ODevice::inst()->systemString() );
135 systemString.append( "</b>" ); 137 systemString.append( "</b>" );
136 systemString.append( tr( "<p>Version: " ) ); 138 systemString.append( tr( "<p>Version: " ) );
@@ -139,6 +141,7 @@ VersionInfo::VersionInfo( QWidget *parent, const char *name, WFlags f )
139 systemString.append( ODevice::inst()->modelString() ); 141 systemString.append( ODevice::inst()->modelString() );
140 systemString.append( tr( "<p>Vendor: " ) ); 142 systemString.append( tr( "<p>Vendor: " ) );
141 systemString.append( ODevice::inst()->vendorString() ); 143 systemString.append( ODevice::inst()->vendorString() );
144 systemString.append("</qt>");
142 145
143 QLabel *systemVersion = new QLabel( container ); 146 QLabel *systemVersion = new QLabel( container );
144 systemVersion->setText( systemString ); 147 systemVersion->setText( systemString );