[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/kate/plugins/filebrowser
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2010-04-10 19:52:53
Message-ID: 20100410195253.5715AAC894 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1113412 by cullmann:
allow to compile with KDE 4.4
M +4 -0 katefilebrowser.cpp
--- trunk/KDE/kdesdk/kate/plugins/filebrowser/katefilebrowser.cpp #1113411:1113412
@@ -45,6 +45,8 @@
#include <QLineEdit>
#include <QToolButton>
+#include <kdeversion.h>
+
//END Includes
@@ -76,7 +78,9 @@
// Mime filter for the KDirOperator
QStringList filter;
filter << "text/plain" << "text/html" << "inode/directory";
+#if KDE_IS_VERSION(4, 4, 60)
m_dirOperator->setNewFileMenuSupportedMimeTypes(filter);
+#endif
setFocusProxy(m_dirOperator);
connect(m_dirOperator, SIGNAL(viewChanged(QAbstractItemView *)),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic