[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bcalligra=5D_libs/main=3A_Fix_compilation_error=2E?=
From: Pierre Stirnweiss <pstirnweiss () googlemail ! com>
Date: 2011-05-31 19:38:52
Message-ID: 20110531193852.53D9EA60AE () git ! kde ! org
[Download RAW message or body]
Git commit ab6a01522cca76995767069ce45984f256cfbcab by Pierre Stirnweiss.
Committed on 25/05/2011 at 21:10.
Pushed by pstirnweiss into branch 'master'.
Fix compilation error.
Check for the proper version introducing the API change in KIO::filePreview
M +1 -1 libs/main/KoRecentDocumentsPane.cpp
http://commits.kde.org/calligra/ab6a01522cca76995767069ce45984f256cfbcab
diff --git a/libs/main/KoRecentDocumentsPane.cpp b/libs/main/KoRecentDocumentsPane.cpp
index 22e4622..75d6e7a 100644
--- a/libs/main/KoRecentDocumentsPane.cpp
+++ b/libs/main/KoRecentDocumentsPane.cpp
@@ -121,7 +121,7 @@ KoRecentDocumentsPane::KoRecentDocumentsPane(QWidget* parent, const KComponentDa
m_documentList->selectionModel()->select(firstIndex, QItemSelectionModel::Select);
m_documentList->selectionModel()->setCurrentIndex(firstIndex, QItemSelectionModel::Select);
-#if KDE_IS_VERSION(4,6,40)
+#if KDE_IS_VERSION(4,6,80)
d->m_previewJob = KIO::filePreview(fileList, QSize(200, 200));
#else
d->m_previewJob = KIO::filePreview(fileList, 200, 200, 0);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic