summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index fc67cb410e..066b9d7db7 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -370,7 +370,7 @@ void Config::setDevices()
QStringList brands = manuf.uniqueKeys();
QTreeWidgetItem *w;
QTreeWidgetItem *w2;
- QTreeWidgetItem *w3 = 0;
+ QTreeWidgetItem *w3 = nullptr;
QString selected = RbSettings::value(RbSettings::Platform).toString();
for(int c = 0; c < brands.size(); c++) {
@@ -408,7 +408,7 @@ void Config::setDevices()
while(widgetitem);
// add new items
ui.treeDevices->insertTopLevelItems(0, items);
- if(w3 != 0) {
+ if(w3 != nullptr) {
ui.treeDevices->setCurrentItem(w3); // hilight old selection
ui.treeDevices->scrollToItem(w3);
}