[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bplasmate=5D_/=3A_*_if_we_change_project=2C_update_t?=
From: Diego Casella <polentino911 () gmail ! com>
Date: 2011-04-15 7:37:32
Message-ID: 20110415073732.DCC51A609B () git ! kde ! org
[Download RAW message or body]
Git commit 5bf36b95b2e35f043533df51c789c640afdd185d by Diego Casella.
Committed on 15/04/2011 at 09:37.
Pushed by casella into branch 'master'.
* if we change project, update the TimeLine working directory.
M +3 -0 mainwindow.cpp
http://commits.kde.org/plasmate/5bf36b95b2e35f043533df51c789c640afdd185d
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 6c6d05b..3c4ae19 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -237,6 +237,9 @@ void MainWindow::initTimeLine()
connect(this, SIGNAL(newSavePointClicked()),
m_timeLine, SLOT(newSavePoint()));
addDockWidget(location, m_timeLine);
+ } else {
+ // The TimeLine is already created, but we changed project, so we need to \
update the working directory + m_timeLine->setWorkingDir(m_model->package());
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic