summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2017-11-07 09:06:29 (GMT)
committerTobias Markmann <tm@ayena.de>2017-11-07 09:07:04 (GMT)
commit3d1c2691febb7e9aea59d97f853272c18adce844 (patch)
treeb55b921bfe0ebe68110d3e9e288c3beb902c9258 /Swift
parenteb07238e9c1a09a640dae06e8a433d7dba77f490 (diff)
downloadswift-3d1c2691febb7e9aea59d97f853272c18adce844.zip
swift-3d1c2691febb7e9aea59d97f853272c18adce844.tar.bz2
Enable translatability of QtSoundSelectionStyledItemDelegate
This adds a missing Q_OBJECT macro. Test-Information: Build and tested on macOS 10.13.1 with Qt 5.4.2 that with `--language de` passed to Swift the German translations are shown in the highlighting editor. Change-Id: Ibe9975786f5a228fb14b61c01ce71db06354762b
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtSoundSelectionStyledItemDelegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSoundSelectionStyledItemDelegate.h b/Swift/QtUI/QtSoundSelectionStyledItemDelegate.h
index fabf668..f03cacc 100644
--- a/Swift/QtUI/QtSoundSelectionStyledItemDelegate.h
+++ b/Swift/QtUI/QtSoundSelectionStyledItemDelegate.h
@@ -11,6 +11,7 @@
namespace Swift {
class QtSoundSelectionStyledItemDelegate : public QStyledItemDelegate {
+ Q_OBJECT
public:
QtSoundSelectionStyledItemDelegate(QObject* parent = nullptr);