From e16cd298bfc16f565f5983b4dbd39f6b3b412158 Mon Sep 17 00:00:00 2001 From: Martin Kampas Date: Tue, 18 Apr 2017 14:58:45 +0200 Subject: [PATCH] Fix misplaced comment in ssudeviceinfo.h --- libssu/ssudeviceinfo.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libssu/ssudeviceinfo.h b/libssu/ssudeviceinfo.h index 8b3ff7a..a121e04 100644 --- a/libssu/ssudeviceinfo.h +++ b/libssu/ssudeviceinfo.h @@ -41,13 +41,15 @@ class SsuDeviceInfo: public QObject * Check if a given model is available in the deviceinfo database, either directly, * or as variant. If no model is provided as argument the autodetected or previously * set model is used. + * + * @attention This function temporarily changes the detected model, and + * therefore should not be used in a multithreaded environment, unless you + * like funny results. */ bool contains(const QString &model = QString()); /** - * Try to find the device family for the system this is running on. This function - * temporarily changes the detected model, and therefore should not be used in a - * multithreaded environment, unless you like funny results. + * Try to find the device family for the system this is running on. */ Q_INVOKABLE QString deviceFamily();