Explorar o código

DataBase::database() static

Felix Turo %!s(int64=4) %!d(string=hai) anos
pai
achega
798c39626e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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