diff options
Diffstat (limited to 'src/qremamain.cpp')
-rw-r--r-- | src/qremamain.cpp | 11 |
1 files changed, 10 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() +{ + +} |