mirror of
https://github.com/Fishwaldo/ozw-admin.git
synced 2025-03-15 19:31:38 +00:00
Try to manually set a cursor to fix it not displaying in some browser/vnc client combos Issue #103
This commit is contained in:
parent
76c8475f31
commit
167180c9ac
2 changed files with 2 additions and 1 deletions
|
@ -53,12 +53,12 @@ int main(int argc, char *argv[])
|
|||
#else
|
||||
QLoggingCategory::setFilterRules("default.debug=true");
|
||||
#endif
|
||||
|
||||
QCoreApplication::setOrganizationName("OpenZWave");
|
||||
QCoreApplication::setOrganizationDomain("openzwave.net");
|
||||
QCoreApplication::setApplicationName("ozw-admin");
|
||||
QCoreApplication::setApplicationVersion(DEF2STR(APP_VERSION));
|
||||
QApplication a(argc, argv);
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
|
||||
|
||||
QCommandLineParser parser;
|
||||
|
|
|
@ -83,6 +83,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
sw->move(this->geometry().center() - sw->rect().center());
|
||||
|
||||
QTimer::singleShot(5000, sw, SLOT(close()));
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
|
Loading…
Add table
Reference in a new issue