[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kcontrol/kdm
From:       Laurent Montel <montel () kde ! org>
Date:       2003-10-07 8:11:01
[Download RAW message or body]

CVS commit by mlaurent: 

Amd64 support


  M +8 -8      kdm-sess.cpp   1.56


--- kdebase/kcontrol/kdm/kdm-sess.cpp  #1.55:1.56
@@ -68,5 +68,5 @@ KDMSessionsWidget::KDMSessionsWidget(QWi
 
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
       QGroupBox *group4 = new QGroupBox( i18n("LILO"), this );
 
@@ -80,10 +80,10 @@ KDMSessionsWidget::KDMSessionsWidget(QWi
       QBoxLayout *main = new QVBoxLayout( this, 10 );
       QGridLayout *lgroup0 = new QGridLayout( group0, 3, 5, 10);
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
       QGridLayout *lgroup4 = new QGridLayout( group4, 3, 4, 10);
 #endif
 
       main->addWidget(group0);
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
       main->addWidget(group4);
 #endif
@@ -99,5 +99,5 @@ KDMSessionsWidget::KDMSessionsWidget(QWi
       lgroup0->addWidget(sdrcombo, 1, 4);
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
       lgroup4->addRowSpacing(0, group4->fontMetrics().height()/2);
       lgroup4->addWidget(lilo_check, 1, 0);
@@ -112,5 +112,5 @@ void KDMSessionsWidget::makeReadOnly()
     sdlcombo->setEnabled(false);
     sdrcombo->setEnabled(false);
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
     lilo_check->setEnabled(false);
 #endif
@@ -136,5 +136,5 @@ void KDMSessionsWidget::save()
     writeSD(sdrcombo);
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
     config->setGroup("Shutdown");
     config->writeEntry("UseLilo", lilo_check->isChecked());
@@ -163,5 +163,5 @@ void KDMSessionsWidget::load()
   readSD(sdrcombo, "Root");
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
   config->setGroup("Shutdown");
   lilo_check->setChecked(config->readBoolEntry("UseLilo", false));
@@ -176,5 +176,5 @@ void KDMSessionsWidget::defaults()
   sdrcombo->setCurrentItem(SdRoot);
 
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && ( defined(__i386__) || defined(__amd64__) )
   lilo_check->setChecked(false);
 #endif


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic