[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/kate/plugins/filebrowser
From: RafaĆ Rzepecki <divided.mind () gmail ! com>
Date: 2008-08-08 2:56:24
Message-ID: 1218164184.165428.32039.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 843823 by divide:
Keep combobox completer in sync with the dir operator.
M +2 -0 katefileselector.cpp
--- trunk/KDE/kdesdk/kate/plugins/filebrowser/katefileselector.cpp #843822:843823
@@ -469,6 +469,7 @@
//dir->setFocus(); // is it really useful to set focus here?
dir->setUrl( typedURL, true );
+ qobject_cast<KUrlCompletion *>( cmbPath->completionObject() )->setDir( typedURL.pathOrUrl() );
// strip password (noop if there's none)
typedURL.setPass( QString() );
@@ -481,6 +482,7 @@
void ::KateFileSelector::dirUrlEntered( const KUrl& u )
{
cmbPath->setUrl( u );
+ qobject_cast<KUrlCompletion *>( cmbPath->completionObject() )->setDir( u.pathOrUrl() );
}
void ::KateFileSelector::dirFinishedLoading()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic