mirror of https://gitee.com/openkylin/peony.git
close-cd #130425 【文件管理器】插拔手机后未退出手机目录
This commit is contained in:
parent
a9fc05264f
commit
2357699897
|
@ -841,7 +841,8 @@ void TabWidget::slot_responseUnmounted(const QString &destUri, const QString &so
|
|||
{
|
||||
//all window accessed mount path should goto self top path,related to bug#104551
|
||||
if((Peony::GlobalSettings::getInstance()->getValue("LAST_FOCUS_PEONY_WINID") == dynamic_cast<MainWindow *>(this->topLevelWidget())->winId()
|
||||
||KWindowSystem::hasWId(dynamic_cast<MainWindow *>(this->topLevelWidget())->winId()))
|
||||
||KWindowSystem::hasWId(dynamic_cast<MainWindow *>(this->topLevelWidget())->winId())
|
||||
||QApplication::topLevelWidgets().contains(this->topLevelWidget()))
|
||||
&& index == currentIndex){
|
||||
qDebug()<<"sourceUri:"<<sourceUri<<"change to self top path"<<" index:"<<currentIndex;
|
||||
if (uri.startsWith("filesafe:///"))
|
||||
|
|
Loading…
Reference in New Issue