forked from openkylin/ukui-search
Exchange quickly open app
This commit is contained in:
parent
13cda837b7
commit
cf5d52c4ea
|
@ -32,11 +32,11 @@ ContentWidget::ContentWidget(QWidget * parent): QStackedWidget(parent) {
|
|||
// m_quicklyOpenList<<"/usr/share/applications/peony.desktop"<<"/usr/share/applications/ukui-control-center.desktop"<<"/usr/share/applications/ksc-defender.desktop";
|
||||
m_quicklyOpenList << "/usr/share/applications/ksc-defender.desktop"
|
||||
<< "/usr/share/applications/ukui-notebook.desktop"
|
||||
<< "/usr/share/applications/eom.desktop"
|
||||
<< "/usr/share/applications/kylin-photo-viewer.desktop"
|
||||
<< "/usr/share/applications/pluma.desktop"
|
||||
<< "/usr/share/applications/claws-mail.desktop" ;
|
||||
if (QString::compare(FileUtils::getAppName(m_quicklyOpenList.at(2)), "Unknown App") == 0) {
|
||||
m_quicklyOpenList.replace(2, "/usr/share/applications/kylin-photo-viewer.desktop");
|
||||
m_quicklyOpenList.replace(2, "/usr/share/applications/eom.desktop");
|
||||
}
|
||||
if (QString::compare(FileUtils::getAppName(m_quicklyOpenList.at(4)), "Unknown App") == 0) {
|
||||
m_quicklyOpenList.replace(4, "/usr/share/applications/org.gnome.Evolution.desktop");
|
||||
|
|
Loading…
Reference in New Issue