when dragging a file from path
\\Nearlinestorage\anc\sequences\anc_SH_005\2d\cgRen开发者_JAVA技巧ders\Maya_Files\28.07.11
in lineEdit area it cuts \\nearlinestorage
when reading ui->lineedit->text()
how is it possible to get the whole path
solved. Problem is in the droparea::dropevent(QDropEvent *event). I replaced
QString url = urlList.at(i).path();
with
QString url = urlList.at(i).toLocalFile();
I get proper result ( as expected ).
Make sure the QLineEdit doesn't have a minimum number of characters set.
精彩评论