From: Andreas Hartmetz Date: Sun, 10 Oct 2010 16:13:25 +0000 (+0000) Subject: compile in debug mode (asserts enabled) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/c40a3a1ee6732a4aebba7128a25cb89f2da2fcbc?ds=sidebyside compile in debug mode (asserts enabled) svn path=/trunk/KDE/kdebase/apps/; revision=1184511 --- 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;