mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
update SelfInfoWidget
This commit is contained in:
5
main.cpp
5
main.cpp
@ -1,5 +1,6 @@
|
||||
#include "mainwidget.h"
|
||||
#include <QApplication>
|
||||
#include <QStyleFactory>
|
||||
|
||||
#include "model/data.h"
|
||||
|
||||
@ -9,6 +10,10 @@ int main(int argc, char *argv[])
|
||||
|
||||
LOG() << "Hello";
|
||||
|
||||
QPalette palette;
|
||||
palette.setColor(QPalette::WindowText, Qt::black);// 窗口文字颜色
|
||||
QApplication::setPalette(palette);
|
||||
|
||||
MainWidget* w = MainWidget::getInstance();
|
||||
w->show();
|
||||
return a.exec();
|
||||
|
||||
Reference in New Issue
Block a user