Commit d5a5937e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix some error

svn path=/trunk/KDE/kdebase/libkonq/; revision=538489
parent 2a3ef954
......@@ -24,7 +24,7 @@
#include <qstringlist.h>
//Added by qt3to4:
#include <QList>
#include <kactionmenu.h>
#include <kaction.h>
#include <kdialogbase.h>
#include <kurl.h>
......
......@@ -425,7 +425,8 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf)
firstPopupURL.cleanPath();
//kDebug(1203) << "View path is " << url.url() << endl;
//kDebug(1203) << "First popup path is " << firstPopupURL.url() << endl;
currentDir = firstPopupURL.equals( url, true /* ignore_trailing */ );
KUrl::EqualsOptions flags = KUrl::CompareWithoutTrailingSlash;
currentDir = firstPopupURL.equals( url, flags/* ignore_trailing */ );
if ( isLocal && m_sMimeType == "application/x-desktop" ) {
KSimpleConfig cfg( firstPopupURL.path(), true );
cfg.setDesktopGroup();
......
......@@ -22,7 +22,7 @@
#define __konqpopupmenu_h
#include <sys/types.h>
#include <kactioncollection.h>
#include <qmenu.h>
#include <qmap.h>
#include <kaction.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment