mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-14 17:45:59 +01:00
Bugfixing: plugin toolbar, missing progress
This commit is contained in:
parent
35eeccb42d
commit
453a3a24c7
@ -45,7 +45,8 @@ public:
|
||||
void finish();
|
||||
|
||||
signals:
|
||||
void progressStarted(ProgressStartupInfo info);
|
||||
// Namespace pdf:: must be here, due to queued signals calling
|
||||
void progressStarted(pdf::ProgressStartupInfo info);
|
||||
void progressStep(int percentage);
|
||||
void progressFinished();
|
||||
|
||||
|
@ -1789,6 +1789,7 @@ void PDFProgramController::loadPlugins()
|
||||
if (!actions.empty())
|
||||
{
|
||||
QToolBar* toolBar = m_mainWindow->addToolBar(plugin.first.name);
|
||||
toolBar->setObjectName(QString("Plugin_Toolbar_%1").arg(plugin.first.name));
|
||||
m_mainWindowInterface->adjustToolbar(toolBar);
|
||||
QMenu* menu = m_mainWindowInterface->addToolMenu(plugin.first.name);
|
||||
for (QAction* action : actions)
|
||||
|
Loading…
Reference in New Issue
Block a user