From c40a3a1ee6732a4aebba7128a25cb89f2da2fcbc Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Sun, 10 Oct 2010 16:13:25 +0000 Subject: [PATCH] compile in debug mode (asserts enabled) svn path=/trunk/KDE/kdebase/apps/; revision=1184511 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index e3f3a4d10..0913503d2 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -919,7 +919,7 @@ void DolphinMainWindow::compareFiles() case 0: { Q_ASSERT(m_viewTab[m_tabIndex].secondaryView != 0); items = m_viewTab[m_tabIndex].secondaryView->view()->selectedItems(); - Q_ASSERT(urls.count() == 2); + Q_ASSERT(items.count() == 2); urlA = items[0].url(); urlB = items[1].url(); break; -- 2.47.3