forked from qt-creator/qt-creator
Fixes for FancyActionBar and TargetSelector.
- Improved icon and text positioning - Improved readability and some gfx glitches on windows and mac - Removed drop down functionality from Run/Debug/Build buttons
This commit is contained in:
@@ -191,7 +191,7 @@ void ModeManager::aboutToRemoveObject(QObject *obj)
|
||||
m_mainWindow->removeContextObject(mode);
|
||||
}
|
||||
|
||||
void ModeManager::addAction(Command *command, int priority, QMenu *menu)
|
||||
void ModeManager::addAction(Command *command, int priority)
|
||||
{
|
||||
m_actions.insert(command, priority);
|
||||
|
||||
@@ -202,7 +202,7 @@ void ModeManager::addAction(Command *command, int priority, QMenu *menu)
|
||||
++index;
|
||||
}
|
||||
|
||||
m_actionBar->insertAction(index, command->action(), menu);
|
||||
m_actionBar->insertAction(index, command->action());
|
||||
}
|
||||
|
||||
void ModeManager::addProjectSelector(QAction *action)
|
||||
|
Reference in New Issue
Block a user