summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index 129215b..280b0c5 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -188,13 +188,13 @@ ODevice::ODevice()
188 d->m_system = distributions[i].system; 188 d->m_system = distributions[i].system;
189 d->m_sysverstr = "<Unknown>"; 189 d->m_sysverstr = "<Unknown>";
190 QFile f( distributions[i].sysvfile ); 190 QFile f( distributions[i].sysvfile );
191 if ( f.open( IO_ReadOnly ) ) 191 if ( f.open( IO_ReadOnly ) )
192 { 192 {
193 QTextStream ts( &f ); 193 QTextStream ts( &f );
194 d->m_sysverstr = ts.readLine(); 194 d->m_sysverstr = ts.readLine().replace( QRegExp( "\\\\." ), "" );
195 } 195 }
196 break; 196 break;
197 } 197 }
198 } 198 }
199} 199}
200 200