Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 0971628

Browse files
committed
use assignment operator instead of copy c'tor
1 parent 5f36edf commit 0971628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libs/libMacGitverCore/Widgets/ProgressDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void ProgressDlg::addActivity(const QString& description, QObject* activity,
7676
{
7777
Q_ASSERT(activity);
7878

79-
Private::ProgressWdgt* a( new Private::ProgressWdgt(description) );
79+
Private::ProgressWdgt* a = new Private::ProgressWdgt(description);
8080
mActivities[activity] = a;
8181

8282
QTreeWidgetItem* activityItem(new QTreeWidgetItem);

0 commit comments

Comments
 (0)