Felix Turo 4 лет назад
Родитель
Сommit
798c39626e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/experimental/DataBase.h

+ 1 - 1
src/experimental/DataBase.h

@@ -45,7 +45,7 @@ public:
      * \brief Can be used to access the database connection.
      * \return The QSqlDatabase object pertaining to the connection.
      */
-    QSqlDatabase database();
+    static QSqlDatabase database();
 
     /*!
      * \brief Checks if an entry exists in the database, based on position data