* @brief Sets a custom color for the title bar. */
| 925 | * @brief Sets a custom color for the title bar. |
| 926 | */ |
| 927 | void Window::setColor(const QString& color) |
| 928 | { |
| 929 | if (m_color == color) |
| 930 | return; |
| 931 | |
| 932 | m_color = color; |
| 933 | updateTheme(); |
| 934 | } |
| 935 | |
| 936 | /** |
| 937 | * @brief Creates the drop-shadow as a BorderImage over a shared 9-slice atlas (no per-window |
no outgoing calls