Verify that copy is done

Naturally the paste button should be disabled, if this is the case, but
it still makes sense to do this check.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2018-10-27 12:00:12 +03:00 committed by Dirk Hohndel
parent 76a68f71a4
commit 37e7602a1e
2 changed files with 5 additions and 1 deletions

View file

@ -226,7 +226,7 @@ private:
bool m_btEnabled;
void updateAllGlobalLists();
QString m_pluggedInDeviceName;
struct dive *m_copyPasteDive;
struct dive *m_copyPasteDive = NULL;
struct dive_components what;
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)