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

List:       kde-commits
Subject:    branches/work/kdelirc
From:       Frank Scheffold <fscheffold () googlemail ! com>
Date:       2010-03-10 20:39:09
Message-ID: 1268253549.708913.1994.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1101753 by frasche:

* Fixed spell error in profiles\n * Fixed sorting in editprofile

 M  +5 -4      kcmremotecontrol/model.cpp  
 M  +1 -1      profiles/kscd.profile.xml  


--- branches/work/kdelirc/kcmremotecontrol/model.cpp #1101752:1101753
@@ -259,7 +259,7 @@
         itemList.append(new ArgumentsModelItem(arg));
         appendRow(itemList);
     }
-    
+    sort(0);
 }
 
 QVariant ArgumentsModel::headerData(int section, Qt::Orientation orientation, int role) const {
@@ -496,7 +496,8 @@
         item->setData(qVariantFromValue(profile), Qt::UserRole);
         item->setEditable(false);
         appendRow(item);
-    }    
+    }
+    sort(0);
 }
 
 Profile* ProfileModel::profile(const QModelIndex& index) const {
@@ -537,7 +538,7 @@
     foreach(const ProfileActionTemplate &profileActionTemplate, profile->actionTemplates()){
       appendRow(profileActionTemplate);
     }
-    sort(0, Qt::DescendingOrder);
+    sort(0);
 }
 
 QVariant ActionTemplateModel::headerData(int section, Qt::Orientation orientation, int role) const {
@@ -592,7 +593,7 @@
     } else {
         row.append(new QStandardItem("-"));
     }
-    QStandardItemModel::appendRow(row);
+    QStandardItemModel::appendRow(row);    
 }
 
 Qt::ItemFlags ActionTemplateModel::flags(const QModelIndex& index) const {
--- branches/work/kdelirc/profiles/kscd.profile.xml #1101752:1101753
@@ -122,7 +122,7 @@
 	</action>
 	
 	<action id="toggleShuffle">
-		<name>Shffule</name>
+		<name>Shuffle</name>
 		<description>Toggles track shuffling on and off</description>
 		<prototype>
 			<serviceName>KsCD</serviceName>
[prev in list] [next in list] [prev in thread] [next in thread] 

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