mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-04 17:30:55 +00:00
Hmm, same mistakes... looks like a conversion script gone mad.
svn path=/trunk/playground/utils/dolphin/; revision=606929
This commit is contained in:
parent
5d1f8dc517
commit
63f6ef7656
|
@ -363,7 +363,7 @@ void Dolphin::createFolder()
|
||||||
|
|
||||||
QString name(i18n("New Folder"));
|
QString name(i18n("New Folder"));
|
||||||
baseURL.path(KUrl::AddTrailingSlash);
|
baseURL.path(KUrl::AddTrailingSlash);
|
||||||
|
|
||||||
|
|
||||||
if (baseURL.isLocalFile() && QFileInfo(baseURL.path(KUrl::AddTrailingSlash) + name).exists()) {
|
if (baseURL.isLocalFile() && QFileInfo(baseURL.path(KUrl::AddTrailingSlash) + name).exists()) {
|
||||||
name = KIO::RenameDlg::suggestName(baseURL, i18n("New Folder"));
|
name = KIO::RenameDlg::suggestName(baseURL, i18n("New Folder"));
|
||||||
|
@ -1526,8 +1526,8 @@ void Dolphin::updateEditActions()
|
||||||
|
|
||||||
KFileItemList::const_iterator it = list->begin();
|
KFileItemList::const_iterator it = list->begin();
|
||||||
const KFileItemList::const_iterator end = list->end();
|
const KFileItemList::const_iterator end = list->end();
|
||||||
KFileItem* item = 0;
|
|
||||||
while (it != end) {
|
while (it != end) {
|
||||||
|
KFileItem* item = *it;
|
||||||
const KUrl& url = item->url();
|
const KUrl& url = item->url();
|
||||||
// only enable the 'Move to Trash' action for local files
|
// only enable the 'Move to Trash' action for local files
|
||||||
if (!url.isLocalFile()) {
|
if (!url.isLocalFile()) {
|
||||||
|
|
|
@ -509,8 +509,8 @@ KUrl::List DolphinView::selectedURLs() const
|
||||||
if (list != 0) {
|
if (list != 0) {
|
||||||
KFileItemList::const_iterator it = list->begin();
|
KFileItemList::const_iterator it = list->begin();
|
||||||
const KFileItemList::const_iterator end = list->end();
|
const KFileItemList::const_iterator end = list->end();
|
||||||
KFileItem* item = 0;
|
|
||||||
while (it != end) {
|
while (it != end) {
|
||||||
|
KFileItem* item = *it;
|
||||||
urls.append(item->url());
|
urls.append(item->url());
|
||||||
++it;
|
++it;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user