You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plasma-desktop/0002-Clear-error-string-on-...

28 lines
809 B

From 99e278d7635986f3aa3cea19d98526803689b962 Mon Sep 17 00:00:00 2001
From: Eike Hein <hein@kde.org>
Date: Mon, 16 May 2016 21:29:33 +0900
Subject: [PATCH 2/6] Clear error string on refresh.
BUG:363112
---
containments/desktop/plugins/folder/foldermodel.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp
index abbd98a..d9dd8be 100644
--- a/containments/desktop/plugins/folder/foldermodel.cpp
+++ b/containments/desktop/plugins/folder/foldermodel.cpp
@@ -1416,6 +1416,9 @@ void FolderModel::pasteTo()
void FolderModel::refresh()
{
+ m_errorString.clear();
+ emit errorStringChanged();
+
m_dirModel->dirLister()->updateDirectory(m_dirModel->dirLister()->url());
}
--
2.7.4