<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/107233/">http://git.reviewboard.kde.org/r/107233/</a>
     </td>
    </tr>
   </table>
   <br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for KDevelop and Niko Sams.</div>
<div>By Kevin Funk.</div>







<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Do not crash when pasting content to projects view

KDevelop crashed when pasting content in case a file in the project tree
view was selected. This commit fixes this.

BT:
10 0x00007fb588c9dab4 in qt_assert (assertion=0x7fb562700528
"destItem->folder()", file=0x7fb5627005b0
"/home/krf/devel/src/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp",
line=679) at /home/krf/devel/src/qt/src/corelib/global/qglobal.cpp:2013
11 0x00007fb5626f1a7f in ProjectManagerViewPlugin::pasteFromContextMenu
(this=<optimized out>) at
/home/krf/devel/src/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:679
12 0x00007fb5626f68d6 in ProjectManagerView::eventFilter
(this=0x7ee6620, obj=0x7ee3a90, event=<optimized out>) at
/home/krf/devel/src/kdevplatform/plugins/projectmanagerview/projectmanagerview.cpp:204
13 0x00007fb588de52d1 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x916c10,
receiver=0x7ee3a90, event=0x7fff22889d00) at
/home/krf/devel/src/qt/src/corelib/kernel/qcoreapplication.cpp:1056
(...)</pre>
  </td>
 </tr>
</table>





<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>plugins/projectmanagerview/projectmanagerviewplugin.cpp <span style="color: grey">(90c3cf99d7d0c5c47f5e86ea58b942d379a9ee81)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/107233/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>




  </div>
 </body>
</html>