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

List:       kde-commits
Subject:    kdesupport/kdewin-installer/gui
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2009-10-12 9:43:44
Message-ID: 1255340624.573213.17619.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1034254 by sengels:

take out mingw 3 option, as we do not build for it anymore

 M  +0 -5      usercompilermodepage.cpp  
 M  +1 -8      usercompilermodepage.ui  


--- trunk/kdesupport/kdewin-installer/gui/usercompilermodepage.cpp #1034253:1034254
@@ -42,7 +42,6 @@
     // logical grouping isn't available in the designer yet :-P
     QButtonGroup *groupA = new QButtonGroup(this);
     groupA->addButton(ui.compilerMinGW4);
-    groupA->addButton(ui.compilerMinGW);
     groupA->addButton(ui.compilerMSVC);
     if (isX64Windows())
         groupA->addButton(ui.compilerMSVCX64);
@@ -79,8 +78,6 @@
     Settings &s = Settings::instance();
     s.setPackageManagerMode(ui.installModePackageManager->isChecked());
 
-    if (ui.compilerMinGW->isChecked())
-        s.setCompilerType(Settings::MinGW);
     if (ui.compilerMinGW4->isChecked())
         s.setCompilerType(Settings::MinGW4);
     if (ui.compilerMSVC->isChecked())
@@ -96,14 +93,12 @@
     switch (s.compilerType()) 
     {
         case Settings::MinGW4: ui.compilerMinGW4->setChecked(true); break;
-        case Settings::MinGW: ui.compilerMinGW->setChecked(true); break;
         case Settings::MSVC: ui.compilerMSVC->setChecked(true); break;
         case Settings::MSVC_X64: ui.compilerMSVCX64->setChecked(true); break;
         default: ui.compilerMSVC->setChecked(true); break;
     }
     bool state = !Database::isAnyPackageInstalled(s.installDir());
     ui.compilerMinGW4->setEnabled(state);
-    ui.compilerMinGW->setEnabled(state);
     ui.compilerMSVC->setEnabled(state);
     if (isX64Windows())
     	ui.compilerMSVCX64->setEnabled(state);
--- trunk/kdesupport/kdewin-installer/gui/usercompilermodepage.ui #1034253:1034254
@@ -261,13 +261,6 @@
           </widget>
          </item>
          <item>
-          <widget class="QRadioButton" name="compilerMinGW">
-           <property name="text">
-            <string>MinGW</string>
-           </property>
-          </widget>
-         </item>
-         <item>
           <widget class="QRadioButton" name="compilerMSVC">
            <property name="text">
             <string>MSVC 32Bit</string>
@@ -280,7 +273,7 @@
             <string>MSVC 64Bit</string>
            </property>
           </widget>
-        </item>
+         </item>
         </layout>
        </item>
        <item row="1" column="4">
[prev in list] [next in list] [prev in thread] [next in thread] 

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