summaryrefslogtreecommitdiff
path: root/noncore/applets/pcmcia/pcmcia.cpp
Side-by-side diff
Diffstat (limited to 'noncore/applets/pcmcia/pcmcia.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/pcmcia/pcmcia.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/applets/pcmcia/pcmcia.cpp b/noncore/applets/pcmcia/pcmcia.cpp
index 4fcc189..6c18e86 100644
--- a/noncore/applets/pcmcia/pcmcia.cpp
+++ b/noncore/applets/pcmcia/pcmcia.cpp
@@ -132,5 +132,5 @@ void PcmciaManager::mousePressEvent( QMouseEvent* )
submenu->insertItem( "&Resume", RESUME+i*100 );
submenu->insertItem( "&Configure", CONFIGURE+i*100 );
-
+
submenu->setItemEnabled( EJECT+i*100, !it.current()->isEmpty() );
submenu->setItemEnabled( INSERT+i*100, it.current()->isEmpty() );
@@ -138,5 +138,5 @@ void PcmciaManager::mousePressEvent( QMouseEvent* )
submenu->setItemEnabled( RESUME+i*100, !it.current()->isEmpty() && it.current()->isSuspended() );
submenu->setItemEnabled( CONFIGURE+i*100, !it.current()->isEmpty() );
-
+
connect( submenu, SIGNAL(activated(int)), this, SLOT(userCardAction(int)) );
menu->insertItem( tr( "%1: %2" ).arg( i++ ).arg( it.current()->identity() ), submenu, 1 );
@@ -171,5 +171,5 @@ void PcmciaManager::cardMessage( const QCString & msg, const QByteArray & )
bool newCard = true;
OPcmciaSocket* theCard = 0;
-
+
while ( it.current() && newCard )
{
@@ -235,5 +235,5 @@ void PcmciaManager::paintEvent( QPaintEvent * )
QPainter p( this );
odebug << "sockets = " << OPcmciaSystem::instance()->count() << ", cards = " << OPcmciaSystem::instance()->cardCount() << oendl;
-
+
if ( OPcmciaSystem::instance()->cardCount() )
{
@@ -259,8 +259,8 @@ void PcmciaManager::userCardAction( int action )
{
odebug << "user action requested. action = " << action << oendl;
-
+
int socket = action / 100;
int what = action % 100;
-
+
switch ( what )
{