summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--launcher/src/applicationmodel.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/launcher/src/applicationmodel.cpp b/launcher/src/applicationmodel.cpp
index 261e43e..258fac6 100644
--- a/launcher/src/applicationmodel.cpp
+++ b/launcher/src/applicationmodel.cpp
@@ -71,13 +71,7 @@ void ApplicationModel::Private::addApp(QString icon, QString name, QString id)
{
_icon = "blank";
}
-
- int pos = 0;
- for (pos = 0; pos < this->data.size(); ++pos) {
- if (QString::compare(this->data.at(pos).name(), name, Qt::CaseInsensitive) > 0)
- break;
- }
- this->data.insert(pos, AppInfo(_icon, name, id));
+ this->data.append(AppInfo(_icon, name, id));
}
void ApplicationModel::Private::removeApp(QString id)