diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-18 09:44:16 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-18 09:44:16 +0200 |
commit | 01b965274469857017aca63f53cb70bbb22c077a (patch) | |
tree | 23dfa5cb73067df156db5ee173cf44ecad4066d3 /mainwindow.cpp | |
parent | 98362942cc8ba13effa9b2ea8edac22a42daad40 (diff) |
Revert "update paths"
This reverts commit 7c82d26586d07dbcbf9b0f5a8c4e62076215f00f.
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index d7e5bb16..085491ff 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -42,7 +42,6 @@ MainWindow::MainWindow(QWidget *parent) : MainWindow::~MainWindow() { #ifdef Q_OS_WIN -} if (useWebDav) WNetCancelConnection2A(passStore.toUtf8().constData(), 0, 1); #else if (fusedav.state() == QProcess::Running) { @@ -179,8 +178,6 @@ void MainWindow::checkConfig() { config(); } - model.setRootPath(passStore); - // TODO: this needs to be before we try to access the store, // but it would be better to do it after the Window is shown, // as the long delay it can cause is irritating otherwise. @@ -990,11 +987,9 @@ void MainWindow::on_profileBox_currentIndexChanged(QString name) } // update model and treeview - model.setRootPath(passStore); proxyModel.setSourceModel(&model); proxyModel.setModelAndStore(&model, passStore); selectionModel.reset(new QItemSelectionModel(&proxyModel)); model.fetchMore(model.setRootPath(passStore)); model.sort(0, Qt::AscendingOrder); - ui->treeView->setModel(&proxyModel); } |