Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.cpp	(revision 78059)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.cpp	(revision 78060)
@@ -27,4 +27,9 @@
     , m_iMatchCount(0)
     , m_iScrollToIndex(-1)
+    , m_fMark(true)
+    , m_unmarkColor(palette().color(QPalette::Base))
+    , m_markColor(QColor(m_unmarkColor.red(),
+                         0.5 * m_unmarkColor.green(),
+                         0.5 * m_unmarkColor.blue()))
 {
 }
@@ -36,6 +41,8 @@
     /* No search terms. no search. nothing to show here: */
     if (text().isEmpty())
+    {
+        colorBackground(false);
         return;
-
+    }
     /* Draw the total match count and the current scrolled item's index on the right hand side of the line edit: */
     QPainter painter(this);
@@ -57,4 +64,5 @@
     painter.drawText(QRect(width() - textSize.width() - iRightMargin, iTopMargin, textSize.width(), textSize.height()),
                      Qt::AlignCenter | Qt::AlignVCenter, strText);
+    colorBackground(m_iMatchCount == 0);
 }
 
@@ -74,2 +82,21 @@
     repaint();
 }
+
+void UISearchLineEdit::colorBackground(bool fWarning)
+{
+    QPalette mPalette = palette();
+    /** Make sure we reset color. */
+    if (!fWarning || !m_fMark)
+    {
+        mPalette.setColor(QPalette::Base, m_unmarkColor);
+        setPalette(mPalette);
+        return;
+    }
+
+    if (m_fMark && fWarning)
+    {
+        mPalette.setColor(QPalette::Base, m_markColor);
+        setPalette(mPalette);
+        return;
+    }
+}
Index: /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.h
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.h	(revision 78059)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISearchLineEdit.h	(revision 78060)
@@ -49,9 +49,15 @@
 private:
 
+    void colorBackground(bool fWarning);
+
     /** Stores the total number of matched items. */
-    int m_iMatchCount;
+    int  m_iMatchCount;
     /** Stores the index of the currently scrolled/made-visible item withing the list of search results.
       * Must be smaller that or equal to m_iMatchCount. */
-    int m_iScrollToIndex;
+    int  m_iScrollToIndex;
+    /** When true we color line edit background with a more reddish color. */
+    bool m_fMark;
+    QColor m_unmarkColor;
+    QColor m_markColor;
 };
 
