mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
use existing AssetUploadDialogFactory ref
This commit is contained in:
parent
99d751584c
commit
777e6c3c2d
1 changed files with 2 additions and 1 deletions
|
@ -362,8 +362,9 @@ Menu::Menu() {
|
|||
QAction* assetUpload = addActionToQMenuAndActionHash(assetDeveloperMenu,
|
||||
MenuOption::UploadAsset,
|
||||
0,
|
||||
&AssetUploadDialogFactory::getInstance(),
|
||||
&assetDialogFactory,
|
||||
SLOT(showDialog()));
|
||||
|
||||
// disable the asset upload action by default - it gets enabled only if asset server becomes present
|
||||
assetUpload->setEnabled(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue