修复了一些小错误.
This commit is contained in:
parent
777b5c06ef
commit
b7e8221922
|
@ -12,7 +12,7 @@ Exec=/usr/bin/ukui-search -s
|
|||
Type=Application
|
||||
Icon=kylin-search
|
||||
X-UKUI-AutoRestart=true
|
||||
NoDisplay=true
|
||||
OnlyShowIn=UKUI
|
||||
#NoDisplay=true
|
||||
#OnlyShowIn=UKUI
|
||||
X-UKUI-Autostart-Phase=Application
|
||||
Terminal=false
|
||||
|
|
|
@ -72,7 +72,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
initTimer();
|
||||
|
||||
m_sys_tray_icon = new QSystemTrayIcon(this);
|
||||
m_sys_tray_icon->setIcon(QIcon::fromTheme("system-search-symbolic"));
|
||||
m_sys_tray_icon->setIcon(QIcon::fromTheme("system-search-symbolic", QIcon(":/res/icons/edit-find-symbolic.svg")));
|
||||
m_sys_tray_icon->setToolTip(tr("Global Search"));
|
||||
m_sys_tray_icon->show();
|
||||
installEventFilter(this);
|
||||
|
|
|
@ -401,7 +401,7 @@ void InotifyWatch::eventProcess(const char *buffer, ssize_t len)
|
|||
if(event->mask & IN_ISDIR) {
|
||||
f.setIsDir();
|
||||
}
|
||||
PendingFileQueue::getInstance(this)->enqueue(f);
|
||||
PendingFileQueue::getInstance()->enqueue(f);
|
||||
|
||||
if(event->mask & IN_ISDIR) {
|
||||
if(!QFileInfo(path).isSymLink()){
|
||||
|
|
Loading…
Reference in New Issue