Commit 1be4689d authored by Ahmad Samir's avatar Ahmad Samir Committed by Kurt Hindenburg
Browse files

Remove redundant assignment

These two QTimer members were initilized in-class, since they aren't
pointers, and then assigned to in the constructor initializer list.
parent ea35c24c
......@@ -27,8 +27,6 @@ Emulation::Emulation()
, _keyTranslator(nullptr)
, _usesMouseTracking(false)
, _bracketedPasteMode(false)
, _bulkTimer1(QTimer(this))
, _bulkTimer2(QTimer(this))
, _imageSizeInitialized(false)
, _peekingPrimary(false)
, _activeScreenIndex(0)
......@@ -476,8 +476,8 @@ private:
bool _usesMouseTracking;
bool _bracketedPasteMode;
QTimer _bulkTimer1;
QTimer _bulkTimer2;
QTimer _bulkTimer1{this};
QTimer _bulkTimer2{this};
bool _imageSizeInitialized;
bool _peekingPrimary;
int _activeScreenIndex;
Supports Markdown
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