ALT Linux Bugzilla
– Attachment 4035 Details for
Bug 22144
Пара исправлений
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Исправление падения при удалении папки
qtiplot-0.9.7.10-fix_remove_folder.patch (text/plain), 680 bytes, created by
Yury Aliaev
on 2009-11-03 15:17:14 MSK
(
hide
)
Description:
Исправление падения при удалении папки
Filename:
MIME Type:
Creator:
Yury Aliaev
Created:
2009-11-03 15:17:14 MSK
Size:
680 bytes
patch
obsolete
>diff --git a/qtiplot/src/core/ApplicationWindow.cpp b/qtiplot/src/core/ApplicationWindow.cpp >index 722e53c..4849b67 100755 >--- a/qtiplot/src/core/ApplicationWindow.cpp >+++ b/qtiplot/src/core/ApplicationWindow.cpp >@@ -9526,11 +9529,9 @@ void ApplicationWindow::deleteSelectedItems() > > folders->blockSignals(true); > foreach(item, lst){ >- if (item->rtti() == FolderListItem::RTTI){ >- Folder *f = ((FolderListItem *)item)->folder(); >- if (deleteFolder(f)) >- delete item; >- } else >+ if (item->rtti() == FolderListItem::RTTI) >+ deleteFolder(((FolderListItem *)item)->folder()); >+ else > ((WindowListItem *)item)->window()->close(); > } > folders->blockSignals(false);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22144
: 4035 |
4036