diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp index 4b36902..0a368f9 100644 --- a/toonz/sources/toonz/mainwindow.cpp +++ b/toonz/sources/toonz/mainwindow.cpp @@ -202,7 +202,7 @@ void makePrivate(Room *room) if (TFileStatus(templateFullMBPath).doesExist()) TSystem::copyFile(myMBPath, templateFullMBPath); else - DVGui::MsgBox(WARNING, QObject::tr("Cannot open menubar settings template file. Re-installing Toonz will solve this problem.")); + DVGui::warning(QObject::tr("Cannot open menubar settings template file. Re-installing Toonz will solve this problem.")); } } } diff --git a/toonz/sources/toonz/menubar.cpp b/toonz/sources/toonz/menubar.cpp index 866880f..02de277 100644 --- a/toonz/sources/toonz/menubar.cpp +++ b/toonz/sources/toonz/menubar.cpp @@ -1449,13 +1449,13 @@ void StackedMenuBar::doCustomizeMenuBar(int index) TFilePath mbPath = ToonzFolder::getMyModuleDir() + mbFileName; if (!TFileStatus(mbPath).isReadable()) { - DVGui::MsgBox(WARNING, tr("Cannot open menubar settings file %1").arg(QString::fromStdString(mbFileName))); + DVGui::warning(tr("Cannot open menubar settings file %1").arg(QString::fromStdString(mbFileName))); return; } QMenuBar* newMenu = loadMenuBar(mbPath); if (!newMenu) { - DVGui::MsgBox(WARNING, tr("Failed to create menubar")); + DVGui::warning(tr("Failed to create menubar")); return; } diff --git a/toonz/sources/toonz/menubarpopup.h b/toonz/sources/toonz/menubarpopup.h index 2670331..1b5af84 100644 --- a/toonz/sources/toonz/menubarpopup.h +++ b/toonz/sources/toonz/menubarpopup.h @@ -57,7 +57,7 @@ protected: // MenuBarPopup //----------------------------------------------------------------------------- -class MenuBarPopup : public Dialog +class MenuBarPopup : public DVGui::Dialog { Q_OBJECT CommandListTree* m_commandListTree;