Commit 0a48c0b8 by ss.dai

程序全屏,主窗口隐藏不提示信息

parent ceb97a3f
......@@ -93,6 +93,8 @@ void MainForm::MyShow()
void MainForm::_Init()
{
this->setWindowFlags(this->windowFlags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
// TODO
this->showFullScreen();
// 显示托盘
m_tray.show();
......@@ -263,8 +265,11 @@ void MainForm::onHideAlert()
void MainForm::onShowAlert(AlertForm::Type type, const QString &msg)
{
m_alertForm->SetContent(type, msg);
m_alertForm->show();
if(!isHidden())
{
m_alertForm->SetContent(type, msg);
m_alertForm->show();
}
}
void MainForm::onSetStoreInfo(const QString &storeId)
......
......@@ -4,7 +4,7 @@
#include <QDebug>
#define APP_THEME "deaufult"
#define APP_VERSION "1.20160802.01" //TODO
#define APP_VERSION "1.20160923.01" //TODO
#define SERVER_PASSWORD "posoperator@freemud.cn"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment