Skip to content

Commit

Permalink
Fix project name getter
Browse files Browse the repository at this point in the history
  • Loading branch information
vivaladav committed Oct 31, 2023
1 parent 9f31713 commit 005d194
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/SigbuildPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ bool SigbuildPlugin::initialize(const QStringList & arguments, QString * errorSt

void SigbuildPlugin::extensionsInitialized()
{

}

ExtensionSystem::IPlugin::ShutdownFlag SigbuildPlugin::aboutToShutdown()
Expand All @@ -129,7 +128,7 @@ void SigbuildPlugin::OnBuildStateChanged(ProjectExplorer::Project * pro)
ProjectExplorer::ProjectNode * prjNode = node->parentProjectNode();

if(prjNode)
mCurrentProject = QString("%1 (%2)").arg(node->displayName()).arg(prjNode->displayName());
mCurrentProject = QString("%1").arg(prjNode->displayName());
else
mCurrentProject = pro->displayName();
}
Expand Down

0 comments on commit 005d194

Please sign in to comment.