summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-03-22 15:10:11 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-03-22 15:10:11 -0500
commit5df6c5fca20e917aaa82665131b931a0aa7c8628 (patch)
treedc1c0f44b8a5280f59ab28556bce96f414afca8d /kdesktop
parent13806ac476cd81d196e38612c81c7a1c76976c31 (diff)
downloadtdebase-5df6c5fca20e917aaa82665131b931a0aa7c8628.tar.gz
tdebase-5df6c5fca20e917aaa82665131b931a0aa7c8628.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.
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/kdiconview.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc
index e2f1c80a0..3404e4ae9 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;
+ }
}
}