aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-10 12:57:47 -0400
committerKen Moore <ken@ixsystems.com>2017-04-10 12:57:47 -0400
commit227d2b20ab7ee892021d93a3d3f0f05875885361 (patch)
tree2c8c54cd3145113708ab5376b3f0aa9a0bdac6d7 /src-qt5
parentGet the drag and drop functionality moved over to the left-click (when dragge... (diff)
downloadlumina-227d2b20ab7ee892021d93a3d3f0f05875885361.tar.gz
lumina-227d2b20ab7ee892021d93a3d3f0f05875885361.tar.bz2
lumina-227d2b20ab7ee892021d93a3d3f0f05875885361.zip
Clean up another couple "nullptr" uses.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core-utils/lumina-config/pages/page_defaultapps.cpp4
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
bgstack15