mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Log Dialog doesn't float on top
This commit is contained in:
parent
3f54428744
commit
428a7f3bf8
2 changed files with 2 additions and 2 deletions
|
@ -6144,7 +6144,7 @@ void Application::loadScriptURLDialog() const {
|
|||
|
||||
void Application::toggleLogDialog() {
|
||||
if (! _logDialog) {
|
||||
_logDialog = new LogDialog(_glWidget, getLogger());
|
||||
_logDialog = new LogDialog(nullptr, getLogger());
|
||||
}
|
||||
|
||||
if (_logDialog->isVisible()) {
|
||||
|
|
|
@ -44,7 +44,7 @@ const QString HIGHLIGHT_COLOR = "#3366CC";
|
|||
int qTextCursorMeta = qRegisterMetaType<QTextCursor>("QTextCursor");
|
||||
int qTextBlockMeta = qRegisterMetaType<QTextBlock>("QTextBlock");
|
||||
|
||||
LogDialog::LogDialog(QWidget* parent, AbstractLoggerInterface* logger) : QDialog(parent, Qt::Dialog) {
|
||||
LogDialog::LogDialog(QWidget* parent, AbstractLoggerInterface* logger) : QDialog(parent, Qt::Window) {
|
||||
|
||||
_logger = logger;
|
||||
setWindowTitle("Log");
|
||||
|
|
Loading…
Reference in a new issue