diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-22 15:10:11 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 03:26:58 +0200 |
commit | f1ebb0156e054e79b44b8fb2d3e1b0b021504f7c (patch) | |
tree | 573c4a8586d28ef85f7f2b1af89624bdb9a19039 | |
parent | a5b5fa3462ad2f5475134d003782b1e9ad28f7ac (diff) | |
download | tdebase-f1ebb0156e054e79b44b8fb2d3e1b0b021504f7c.tar.gz tdebase-f1ebb0156e054e79b44b8fb2d3e1b0b021504f7c.zip |
Restore code snippet removed with GIT hash
27856879bf962f178d88e79144e37a47e731b122,
Sept. 3, 2010, "Massive import of OpenSUSE patches."
Restoring this snippet restores the device icon
placement and resolves bug report 392.
(cherry picked from commit 5df6c5fca20e917aaa82665131b931a0aa7c8628)
-rw-r--r-- | kdesktop/kdiconview.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc index 4cf5d7a08..879f889ed 100644 --- a/kdesktop/kdiconview.cc +++ b/kdesktop/kdiconview.cc @@ -1141,6 +1141,15 @@ void KDIconView::slotNewItems( const KFileItemList & entries ) kdDebug(1214)<<"Using saved position"<<endl; } } + else + { + // Not found, we'll need to save the new pos + kdDebug(1214)<<"slotNewItems(): New item without position information, try to find a sane location"<<endl; + + moveToFreePosition(fileIVI); + + m_bNeedSave = true; + } } } |