Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/QRema.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2019-08-16 02:35:03 +0300
committerAntenore Gatta <antenore@simbiosi.org>2019-08-16 02:35:03 +0300
commit278fb6ba6f57fb9c11f3c9aca34553873c729b17 (patch)
tree21e68b60037354b1e447d81c88d57e7429ea5a95 /src
parentefdfab3463d38e56c768bcd6d7764a9d6ff16bc2 (diff)
Added resources
Diffstat (limited to 'src')
-rw-r--r--src/qremamain.cpp11
-rw-r--r--src/qremamain.h3
2 files changed, 13 insertions, 1 deletions
diff --git a/src/qremamain.cpp b/src/qremamain.cpp
index 76b4dd3..8a36836 100644
--- a/src/qremamain.cpp
+++ b/src/qremamain.cpp
@@ -7,7 +7,11 @@ QRemaMain::QRemaMain(QWidget *parent) :
ui(new Ui::QRemaMain)
{
ui->setupUi(this);
- QString mPath = "/home/antenore/remmina/profiles";
+ QString mPath = QDir::homePath() + "/remmina/profiles";
+
+
+
+ qDebug() << "Profile Path: "<< mPath ;
dirModel = new QFileSystemModel(this);
// Set filter
@@ -76,3 +80,8 @@ void QRemaMain::on_listView_doubleClicked(const QModelIndex &index)
QString sPath = fileModel->fileInfo(index).absoluteFilePath();
QDesktopServices::openUrl(QUrl::fromLocalFile(sPath));
}
+
+void QRemaMain::on_action_Add_triggered()
+{
+
+}
diff --git a/src/qremamain.h b/src/qremamain.h
index c20c0a7..a35715c 100644
--- a/src/qremamain.h
+++ b/src/qremamain.h
@@ -2,6 +2,7 @@
#define QREMAMAIN_H
#include <QMainWindow>
+#include <QDebug>
#include <QFileSystemModel>
#include <QDesktopServices>
#include <QUrl>
@@ -24,6 +25,8 @@ private slots:
void on_treeView_clicked(const QModelIndex &index);
void on_listView_doubleClicked(const QModelIndex &index);
+ void on_action_Add_triggered();
+
private:
Ui::QRemaMain *ui;
// Make two models instead of one