diff options
author | Arno <arno@disconnect.de> | 2020-07-25 11:29:14 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2020-07-25 11:29:14 +0200 |
commit | 8ad0e3ce1908ec9a3493bd162a071af24048c85b (patch) | |
tree | d663f4b6674386447d42baf3b8005b7cad0b2459 /archiveview.cpp | |
parent | c472efa14247dcbdb83e4ebb3af0518905b635e4 (diff) | |
download | SheMov-8ad0e3ce1908ec9a3493bd162a071af24048c85b.tar.gz SheMov-8ad0e3ce1908ec9a3493bd162a071af24048c85b.tar.bz2 SheMov-8ad0e3ce1908ec9a3493bd162a071af24048c85b.zip |
Fix QComboBox deprecation warnings
Diffstat (limited to 'archiveview.cpp')
-rw-r--r-- | archiveview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiveview.cpp b/archiveview.cpp index a494231..ab64a5f 100644 --- a/archiveview.cpp +++ b/archiveview.cpp @@ -178,7 +178,7 @@ MetadataEditorWidget::MetadataEditorWidget(QWidget *parent) : QWidget(parent){ mReencReason = new QComboBox; QStringList reasons = SmGlobals::instance()->reencReasons(); mReencReason->addItems(reasons); - connect(mReencReason, QOverload<const QString &>::of(&QComboBox::activated), this, &MetadataEditorWidget::addToComment); + connect(mReencReason, &QComboBox::textActivated, this, &MetadataEditorWidget::addToComment); QPushButton *clearB = new QPushButton(tr("Clear")); reasonGBL->addWidget(mReencReason); reasonGBL->addWidget(clearB); |