Procházet zdrojové kódy

DataBase::database() static

Felix Turo před 4 roky
rodič
revize
798c39626e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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