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

List:       kde-commits
Subject:    KDE/kdebase/apps/konsole/src
From:       Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date:       2010-10-15 15:38:06
Message-ID: 20101015153806.66733AC896 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1186275 by hindenburg:

Remove the never-used Move Up/Down buttons

 M  +0 -6      ManageProfilesDialog.cpp  
 M  +1 -27     ManageProfilesDialog.ui  


--- trunk/KDE/kdebase/apps/konsole/src/ManageProfilesDialog.cpp #1186274:1186275
@@ -60,10 +60,6 @@
     _ui->sessionTable->setEditTriggers(_ui->sessionTable->editTriggers() | \
QAbstractItemView::SelectedClicked);  _ui->sessionTable->setShowGrid(false);
 
-    // TODO re-enable when saving profile order works - khindenburg
-    _ui->moveUpButton->setEnabled(false);
-    _ui->moveDownButton->setEnabled(false);
-
     // update table and listen for changes to the session types
     connect( SessionManager::instance() , SIGNAL(profileAdded(Profile::Ptr)) , this,
              SLOT(addItems(Profile::Ptr)) );
@@ -91,8 +87,6 @@
     connect( _ui->editSessionButton , SIGNAL(clicked()) , this , \
                SLOT(editSelected()) );
     connect( _ui->deleteSessionButton , SIGNAL(clicked()) , this , \
                SLOT(deleteSelected()) );
     connect( _ui->setAsDefaultButton , SIGNAL(clicked()) , this , \
                SLOT(setSelectedAsDefault()) );
-    connect( _ui->moveUpButton , SIGNAL(clicked()) , this , SLOT(moveUpSelected()) \
                );
-    connect( _ui->moveDownButton , SIGNAL(clicked()) , this , \
SLOT(moveDownSelected()) );  }
 
 void ManageProfilesDialog::showEvent(QShowEvent*)
--- trunk/KDE/kdebase/apps/konsole/src/ManageProfilesDialog.ui #1186274:1186275
@@ -64,32 +64,6 @@
     </widget>
    </item>
    <item row="4" column="1">
-    <widget class="QPushButton" name="moveUpButton">
-     <property name="enabled">
-      <bool>false</bool>
-     </property>
-     <property name="toolTip">
-      <string>Move the selected profile up in the menu list</string>
-     </property>
-     <property name="text">
-      <string>Move Up</string>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="1">
-    <widget class="QPushButton" name="moveDownButton">
-     <property name="enabled">
-      <bool>false</bool>
-     </property>
-     <property name="toolTip">
-      <string>Move the selected profile down in the menu list</string>
-     </property>
-     <property name="text">
-      <string>Move Down</string>
-     </property>
-    </widget>
-   </item>
-   <item row="6" column="1">
     <spacer>
      <property name="orientation">
       <enum>Qt::Vertical</enum>
@@ -102,7 +76,7 @@
      </property>
     </spacer>
    </item>
-   <item row="0" column="0" rowspan="7">
+   <item row="0" column="0" rowspan="5">
     <widget class="QTableView" name="sessionTable">
      <property name="whatsThis">
       <string/>


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

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