Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 48e33bdd authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variables

parent 0c73a996
......@@ -256,8 +256,6 @@ void TransactionItem::addSubTransaction(ProgressItem *item)
ProgressDialog::ProgressDialog(QWidget *alignWidget, QWidget *parent)
: OverlayWidget(alignWidget, parent)
, mShowTypeProgressItem(0)
, mWasLastShown(false)
{
setFrameStyle(QFrame::Panel | QFrame::Sunken); // QFrame
......
......@@ -160,8 +160,8 @@ protected:
TransactionItemView *mScrollView = nullptr;
QMap<const ProgressItem *, TransactionItem *> mTransactionsToListviewItems;
unsigned int mShowTypeProgressItem;
bool mWasLastShown;
unsigned int mShowTypeProgressItem = 0;
bool mWasLastShown = false;
};
} // namespace KPIM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment