X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/8a0003bfbcc87068737ab1e2b94ae7b2ba73eca1..28a74d178071c89dbdc53a193c1db68e0d10ddcb:/src/views/dolphinview.cpp diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 4f5b0e83a..168e282b5 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -25,7 +25,7 @@ #include "views/tooltips/tooltipmanager.h" #include "zoomlevelinfo.h" -#ifdef HAVE_BALOO +#if HAVE_BALOO #include #endif #include @@ -209,7 +209,7 @@ DolphinView::DolphinView(const QUrl& url, QWidget* parent) : connect(selectionManager, &KItemListSelectionManager::selectionChanged, this, &DolphinView::slotSelectionChanged); -#ifdef HAVE_BALOO +#if HAVE_BALOO m_toolTipManager = new ToolTipManager(this); connect(m_toolTipManager, &ToolTipManager::urlActivated, this, &DolphinView::urlActivated); #endif @@ -1076,7 +1076,7 @@ void DolphinView::slotHeaderContextMenuRequested(const QPointF& pos) const QList visibleRolesSet = view->visibleRoles(); bool indexingEnabled = false; -#ifdef HAVE_BALOO +#if HAVE_BALOO Baloo::IndexerConfig config; indexingEnabled = config.fileIndexingEnabled(); #endif @@ -1224,7 +1224,7 @@ void DolphinView::slotItemHovered(int index) const QPoint pos = m_container->mapToGlobal(itemRect.topLeft().toPoint()); itemRect.moveTo(pos); -#ifdef HAVE_BALOO +#if HAVE_BALOO auto nativeParent = nativeParentWidget(); if (nativeParent) { m_toolTipManager->showToolTip(item, itemRect, nativeParent->windowHandle()); @@ -1666,7 +1666,7 @@ void DolphinView::updateViewState() void DolphinView::hideToolTip(const ToolTipManager::HideBehavior behavior) { if (GeneralSettings::showToolTips()) { -#ifdef HAVE_BALOO +#if HAVE_BALOO m_toolTipManager->hideToolTip(behavior); #else Q_UNUSED(behavior)