reset is deprecated since Qt 5.0
[quassel.git] / src / qtui / settingspages / ignorelistmodel.cpp
index 5dec6cc..a6ce4df 100644 (file)
@@ -262,7 +262,8 @@ void IgnoreListModel::revert()
 
     _configChanged = false;
     emit configChanged(false);
-    reset();
+    beginResetModel();
+    endResetModel();
 }
 
 
@@ -279,7 +280,8 @@ void IgnoreListModel::commit()
 void IgnoreListModel::initDone()
 {
     _modelReady = true;
-    reset();
+    beginResetModel();
+    endResetModel();
     emit modelReady(true);
 }
 
@@ -299,7 +301,8 @@ void IgnoreListModel::clientDisconnected()
     // clear
     _clonedIgnoreListManager = ClientIgnoreListManager();
     _modelReady = false;
-    reset();
+    beginResetModel();
+    endResetModel();
     emit modelReady(false);
 }