diff --git a/src/content-widget.cpp b/src/content-widget.cpp index 0fdcee8..8d04eef 100644 --- a/src/content-widget.cpp +++ b/src/content-widget.cpp @@ -39,7 +39,7 @@ ContentWidget::ContentWidget(QWidget * parent): QStackedWidget(parent) { 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"); + m_quicklyOpenList.replace(4, "/usr/share/applications/evolution.desktop"); } } diff --git a/src/input-box.cpp b/src/input-box.cpp index 0b57c19..a81f9ce 100644 --- a/src/input-box.cpp +++ b/src/input-box.cpp @@ -105,20 +105,9 @@ void SearchBarHLayout::initUI() { queryWidLayout->setSpacing(5); m_queryWidget->setLayout(queryWidLayout); - - if (!QIcon::fromTheme("system-search-symbolic").isNull()) { - QPixmap pixmap(QIcon::fromTheme("system-search-symbolic").pixmap(QSize(20, 20))); - m_queryIcon = new QLabel; - m_queryIcon->setFixedSize(pixmap.size()); - m_queryIcon->setPixmap(pixmap); - } else { - QPixmap pixmap(QIcon(":/res/icons/system-search.symbolic.png").pixmap(QSize(20, 20))); - m_queryIcon = new QLabel; - m_queryIcon->setFixedSize(pixmap.size()); - m_queryIcon->setPixmap(pixmap); - } - QPixmap pixmap(QIcon::fromTheme("system-search-symbolic").pixmap(QSize(20, 20))); + QPixmap pixmap(QIcon::fromTheme("system-search-symbolic", QIcon(":/res/icons/system-search.symbolic.png")).pixmap(QSize(20, 20))); m_queryIcon = new QLabel; + m_queryIcon->setProperty("useIconHighlightEffect", 0x10); m_queryIcon->setFixedSize(pixmap.size()); m_queryIcon->setPixmap(pixmap);