aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-config/pages/page_main.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-12-15 22:52:34 +0000
committerWeblate <noreply@weblate.org>2017-12-15 22:52:34 +0000
commit9155556b94b0fe25ef3d5398a7f70dcdc1841d69 (patch)
treeae5af06e4741c8767344be6d90a7307bcddb5b5d /src-qt5/core-utils/lumina-config/pages/page_main.cpp
parentTranslated using Weblate (Russian) (diff)
parentAnother minor networking fix. (diff)
downloadlumina-9155556b94b0fe25ef3d5398a7f70dcdc1841d69.tar.gz
lumina-9155556b94b0fe25ef3d5398a7f70dcdc1841d69.tar.bz2
lumina-9155556b94b0fe25ef3d5398a7f70dcdc1841d69.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages/page_main.cpp')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_main.cpp b/src-qt5/core-utils/lumina-config/pages/page_main.cpp
index 13a3cfbd..bb0de962 100644
--- a/src-qt5/core-utils/lumina-config/pages/page_main.cpp
+++ b/src-qt5/core-utils/lumina-config/pages/page_main.cpp
@@ -44,7 +44,7 @@ void page_main::setPreviousPage(QString id){
}
}
}
-
+
}
void page_main::UpdateItems(QString search){
@@ -87,15 +87,15 @@ void page_main::UpdateItems(QString search){
//qDebug() << "Item Found:" << INFO[i].id << INFO[i].title;
int col = 0;
QTreeWidgetItem *lastIt = 0;
- if(INFO[i].category=="interface" && interface->childCount()>0 ){
+ if(INFO[i].category=="interface" && interface->childCount()>0 ){
if( interface->child( interface->childCount()-1)->text(1).isEmpty() ){ lastIt = interface->child(interface->childCount()-1); }
}else if(INFO[i].category=="appearance" && appearance->childCount()>0 ){
if( appearance->child(appearance->childCount()-1)->text(1).isEmpty() ){ lastIt = appearance->child(appearance->childCount()-1); }
- }else if(INFO[i].category=="session" && session->childCount()>0 ){
+ }else if(INFO[i].category=="session" && session->childCount()>0 ){
if( session->child( session->childCount()-1)->text(1).isEmpty() ){ lastIt = session->child(session->childCount()-1); }
- }else if(INFO[i].category=="user" && user->childCount()>0 ){
+ }else if(INFO[i].category=="user" && user->childCount()>0 ){
if( user->child( user->childCount()-1)->text(1).isEmpty() ){ lastIt = user->child(user->childCount()-1); }
- }else if(INFO[i].category=="system" && system->childCount()>0 ){
+ }else if(INFO[i].category=="system" && system->childCount()>0 ){
if( system->child( system->childCount()-1)->text(1).isEmpty() ){ lastIt = system->child(system->childCount()-1); }
}
if(lastIt==0){ lastIt = new QTreeWidgetItem(); col = 0;}
@@ -125,7 +125,7 @@ void page_main::UpdateItems(QString search){
ui->treeWidget->resizeColumnToContents(1);
//Now make sure the width of the tree widget is greater/equal to the recommended size
- int wid = ui->treeWidget->indentation() + 10;
+ int wid = ui->treeWidget->indentation() + 10;
for(int i=0; i<ui->treeWidget->columnCount(); i++){
wid += ui->treeWidget->columnWidth(i);
}
@@ -194,7 +194,7 @@ void page_main::showFind(){
void page_main::itemTriggered(QTreeWidgetItem *it, int col){
if(it->childCount()>0){
- it->setExpanded( !it->isExpanded() );
+ it->setExpanded( !it->isExpanded() );
it->setSelected(false);
}else if(!it->whatsThis(col).isEmpty()){
QString id = it->whatsThis(col);
bgstack15