diff options
author | Joe Maloney <jmaloney@Joes-Mac-mini.local> | 2017-04-10 15:31:42 -0400 |
---|---|---|
committer | Joe Maloney <jmaloney@Joes-Mac-mini.local> | 2017-04-10 15:31:42 -0400 |
commit | 04af8e37d0d00cfc1ca38bdd13acf98d921c8ef3 (patch) | |
tree | dac6d38c35380e6ec8fac89f04d8a59c71fc38bf /src-qt5/core-utils/lumina-config/pages | |
parent | Remove broken oxygen icons depend. We will forge ahead with our own icons. (diff) | |
parent | Start putting together the material-icons-light theme: (diff) | |
download | lumina-04af8e37d0d00cfc1ca38bdd13acf98d921c8ef3.tar.gz lumina-04af8e37d0d00cfc1ca38bdd13acf98d921c8ef3.tar.bz2 lumina-04af8e37d0d00cfc1ca38bdd13acf98d921c8ef3.zip |
Merge branch 'master' of https://www.github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core-utils/lumina-config/pages')
-rw-r--r-- | src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp b/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp index ce39958f..c2d689ec 100644 --- a/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp +++ b/src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp @@ -65,7 +65,7 @@ void page_defaultapps::LoadSettings(int){ //qDebug() << "Mime List:\n" << defMimeList.join("\n"); defMimeList.sort(); //sort by group/mime //Now fill the tree by group/mime - QTreeWidgetItem *group = nullptr; + QTreeWidgetItem *group = 0; QString ccat; for(int i=0; i<defMimeList.length(); i++){ //Get the info from this entry @@ -75,7 +75,7 @@ void page_defaultapps::LoadSettings(int){ QString def = defMimeList[i].section("::::",2,2); QString comment = defMimeList[i].section("::::",3,50); //Now check if this is a new category - if(group == nullptr || ccat!=cat){ + if(group == 0 || ccat!=cat){ //New group group = new QTreeWidgetItem(0); group->setText(0, cat); //add translations for known/common groups later |