Pārlūkot izejas kodu

DataBase::database() static

Felix Turo 4 gadi atpakaļ
vecāks
revīzija
798c39626e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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