mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-22 23:06:18 +00:00
Texture Chooser shouldn't have been left in the main menu...
This commit is contained in:
parent
8ca98c91e9
commit
49e8343345
2 changed files with 0 additions and 22 deletions
|
@ -44,7 +44,6 @@
|
|||
#include "editor_selection_watcher.h"
|
||||
#include "editor_message_processor.h"
|
||||
#include "add_widget_widget.h"
|
||||
#include "texture_chooser.h"
|
||||
|
||||
namespace GUIEditor
|
||||
{
|
||||
|
@ -71,8 +70,6 @@ namespace GUIEditor
|
|||
|
||||
widgetInfoTree = new CWidgetInfoTree;
|
||||
|
||||
tc = new TextureChooser();
|
||||
|
||||
createMenus();
|
||||
readSettings();
|
||||
|
||||
|
@ -118,9 +115,6 @@ namespace GUIEditor
|
|||
|
||||
removeMenus();
|
||||
|
||||
delete tc;
|
||||
tc = NULL;
|
||||
|
||||
delete messageProcessor;
|
||||
messageProcessor = NULL;
|
||||
|
||||
|
@ -359,12 +353,6 @@ namespace GUIEditor
|
|||
GUICtrl->show();
|
||||
}
|
||||
|
||||
void GUIEditorWindow::onTCClicked()
|
||||
{
|
||||
tc->load();
|
||||
tc->exec();
|
||||
}
|
||||
|
||||
void GUIEditorWindow::createMenus()
|
||||
{
|
||||
Core::MenuManager *mm = Core::ICore::instance()->menuManager();
|
||||
|
@ -411,10 +399,6 @@ namespace GUIEditor
|
|||
connect( a, SIGNAL( triggered( bool ) ), this, SLOT( onAddWidgetClicked() ) );
|
||||
m->addAction( a );
|
||||
|
||||
a = new QAction( "Texture Chooser", this );
|
||||
connect( a, SIGNAL( triggered( bool ) ), this, SLOT( onTCClicked() ) );
|
||||
m->addAction( a );
|
||||
|
||||
menu = m;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,11 +25,8 @@
|
|||
#include "property_browser_ctrl.h"
|
||||
|
||||
class QtTreePropertyBrowser;
|
||||
|
||||
class QMenu;
|
||||
|
||||
class TextureChooser;
|
||||
|
||||
namespace GUIEditor
|
||||
{
|
||||
|
||||
|
@ -67,7 +64,6 @@ private Q_SLOTS:
|
|||
void onGUILoaded();
|
||||
void onAddWidgetClicked();
|
||||
void onTreeChanged();
|
||||
void onTCClicked();
|
||||
|
||||
protected:
|
||||
void hideEvent( QHideEvent *evnt );
|
||||
|
@ -100,8 +96,6 @@ private:
|
|||
QString currentProjectFile;
|
||||
|
||||
QMenu *menu;
|
||||
|
||||
TextureChooser *tc;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue