aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2014-01-21 16:38:41 (GMT)
committerChristoph Cullmann <cullmann@kde.org>2014-01-21 16:38:41 (GMT)
commit63497b565dcfbe7402af97ce1005e38bb3ae9509 (patch)
tree4c1e5cacba526d81fa040591e396c86cfa27ee19
parentd4afbe1c8cabe274694d5aa99fd18e36d942849b (diff)
port modified on disk notification
-rw-r--r--src/view/katestatusbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/katestatusbar.cpp b/src/view/katestatusbar.cpp
index d9afa20..38ef24c 100644
--- a/src/view/katestatusbar.cpp
+++ b/src/view/katestatusbar.cpp
@@ -23,6 +23,7 @@
#include "katemodemenu.h"
#include "kateglobal.h"
#include "katemodemanager.h"
+#include "katedocument.h"
#include <KIconUtils>
#include <KLocalizedString>
@@ -165,9 +166,8 @@ void KateStatusBar::informationMessage (KTextEditor::View *, const QString &mess
void KateStatusBar::modifiedChanged()
{
- bool mod = m_view->document()->isModified();
-
- bool modOnHD = false;//FIXME KF5 info && info->modifiedOnDisc;
+ const bool mod = m_view->doc()->isModified();
+ const bool modOnHD = m_view->doc()->isModifiedOnDisc();
m_modifiedLabel->setPixmap(
mod ?