Commit 8eb9d074 authored by Camilo higuita's avatar Camilo higuita

push latest changes

parent 12c66d9a
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
#include <QtWebEngine> #include <QtWebEngine>
#endif #endif
#include "src/buho.h" #include "./src/buho.h"
#include "src/linker.h" #include "./src/linker.h"
#include "models/basemodel.h" #include "./src/models/basemodel.h"
#include "models/baselist.h" #include "./src/models/baselist.h"
#include "models/notes/notes.h" #include "./src/models/notes/notes.h"
#include "models/links/links.h" #include "./src/models/links/links.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "../utils/owl.h" #include "../utils/owl.h"
class DB : public QObject class DB : public QObject
{ {
Q_OBJECT Q_OBJECT
......
...@@ -20,7 +20,6 @@ QVariant BaseModel::data(const QModelIndex &index, int role) const ...@@ -20,7 +20,6 @@ QVariant BaseModel::data(const QModelIndex &index, int role) const
if (!index.isValid() || !mList) if (!index.isValid() || !mList)
return QVariant(); return QVariant();
return mList->items().at(index.row())[static_cast<OWL::KEY>(role)]; return mList->items().at(index.row())[static_cast<OWL::KEY>(role)];
} }
......
#include "notes.h" #include "notes.h"
#include <QUuid> #include <QUuid>
#include "db/db.h" #include "db/db.h"
#ifdef STATIC_MAUIKIT #ifdef STATIC_MAUIKIT
...@@ -18,7 +17,6 @@ Notes::Notes(QObject *parent) : BaseList(parent) ...@@ -18,7 +17,6 @@ Notes::Notes(QObject *parent) : BaseList(parent)
connect(this, &Notes::sortByChanged, this, &Notes::sortList); connect(this, &Notes::sortByChanged, this, &Notes::sortList);
connect(this, &Notes::orderChanged, this, &Notes::sortList); connect(this, &Notes::orderChanged, this, &Notes::sortList);
} }
void Notes::sortList() void Notes::sortList()
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
class DB; class DB;
class Tagging; class Tagging;
class Notes : public BaseList class Notes : public BaseList
{ {
Q_OBJECT Q_OBJECT
......
...@@ -8,7 +8,7 @@ Maui.Page ...@@ -8,7 +8,7 @@ Maui.Page
property alias cardsView : cardsView property alias cardsView : cardsView
headBarVisible: false headBar.visible: false
margins: isMobile ? space.big : space.enormous margins: isMobile ? space.big : space.enormous
......
...@@ -24,7 +24,7 @@ Maui.Page ...@@ -24,7 +24,7 @@ Maui.Page
signal linkClicked(var link) signal linkClicked(var link)
headBarVisible: !cardsView.holder.visible headBar.visible: !cardsView.holder.visible
margins: space.big margins: space.big
headBarExit: false headBarExit: false
......
...@@ -25,7 +25,7 @@ Maui.Page ...@@ -25,7 +25,7 @@ Maui.Page
margins: space.big margins: space.big
headBarExit : false headBarExit : false
headBarVisible: !cardsView.holder.visible headBar.visible: !cardsView.holder.visible
headBarTitle : cardsView.count + " notes" headBarTitle : cardsView.count + " notes"
headBar.leftContent: [ headBar.leftContent: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment