summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/linux/opcmciasystem.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiecore/linux/opcmciasystem.cpp b/libopie2/opiecore/linux/opcmciasystem.cpp
index a924696..34e4477 100644
--- a/libopie2/opiecore/linux/opcmciasystem.cpp
+++ b/libopie2/opiecore/linux/opcmciasystem.cpp
@@ -80,3 +80,4 @@ void OPcmciaSystem::synchronize()
80 QString line = cardinfo.readLine(); 80 QString line = cardinfo.readLine();
81 if ( line.startsWith( "Socket" ) ) 81 // qDebug( "line = '%s'", (const char*) line );
82 if ( line.startsWith( "Socket" ) && ! line.contains( "empty" ) )
82 { 83 {
@@ -85,3 +86,3 @@ void OPcmciaSystem::synchronize()
85 QString id = line.right( line.length() - mid + 1 ); 86 QString id = line.right( line.length() - mid + 1 );
86 if ( mid ) _interfaces.insert( name, new OPcmciaCard( this, (const char*) id ) ); 87 if ( mid ) _interfaces.insert( name.stripWhiteSpace(), new OPcmciaCard( this, (const char*) id.stripWhiteSpace() ) );
87 } 88 }