added emojis
This commit is contained in:
+5
-5
@@ -201,17 +201,17 @@ void NotebookPage::paintEvent(QPaintEvent *)
|
||||
|
||||
if (hbox.count() == 0)
|
||||
{
|
||||
painter.fillRect(rect(), ColorScheme::getInstance().ChatBackground);
|
||||
painter.fillRect(rect(), ColorScheme::instance().ChatBackground);
|
||||
|
||||
painter.fillRect(0, 0, width(), 2, ColorScheme::getInstance().TabSelectedBackground);
|
||||
painter.fillRect(0, 0, width(), 2, ColorScheme::instance().TabSelectedBackground);
|
||||
|
||||
painter.setPen(ColorScheme::getInstance().Text);
|
||||
painter.setPen(ColorScheme::instance().Text);
|
||||
painter.drawText(rect(), "Add Chat", QTextOption(Qt::AlignCenter));
|
||||
}
|
||||
else
|
||||
{
|
||||
painter.fillRect(rect(), ColorScheme::getInstance().TabSelectedBackground);
|
||||
painter.fillRect(rect(), ColorScheme::instance().TabSelectedBackground);
|
||||
|
||||
painter.fillRect(0, 0, width(), 2, ColorScheme::getInstance().TabSelectedBackground);
|
||||
painter.fillRect(0, 0, width(), 2, ColorScheme::instance().TabSelectedBackground);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user