diff --git a/indicator/main.cpp b/indicator/main.cpp index 04d32c2c9..2453fe9e3 100644 --- a/indicator/main.cpp +++ b/indicator/main.cpp @@ -70,5 +70,9 @@ int main(int argc, char** argv) } }); + QObject::connect(&model, &DevicesModel::rowsChanged, &model, [&systray, &model]() { + systray.setToolTip(i18np("%1 device connected", "%1 devices connected", model.rowCount())); + }); + return app.exec(); }