diff options
author | Ken Moore <ken@ixsystems.com> | 2016-11-10 12:38:56 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2016-11-10 12:38:56 -0500 |
commit | 634557bad1b1b6781fe693d37b480897cc55376e (patch) | |
tree | f5f26c9ffdbaeeef1082ed3260b44cd2bde0f6d2 /src-qt5/core/lumina-desktop/desktop-plugins/notepad | |
parent | Disable the theme engine from the core-utils. (diff) | |
download | lumina-634557bad1b1b6781fe693d37b480897cc55376e.tar.gz lumina-634557bad1b1b6781fe693d37b480897cc55376e.tar.bz2 lumina-634557bad1b1b6781fe693d37b480897cc55376e.zip |
Add pass-through for context menu requests on many desktop plugins.
This should allow the user to click almost anywhere on the plugin to actually see the menu for managing the plugin itself.
Diffstat (limited to 'src-qt5/core/lumina-desktop/desktop-plugins/notepad')
-rw-r--r-- | src-qt5/core/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp b/src-qt5/core/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp index a2549acf..fe26941e 100644 --- a/src-qt5/core/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp +++ b/src-qt5/core/lumina-desktop/desktop-plugins/notepad/NotepadPlugin.cpp @@ -60,6 +60,7 @@ NotePadPlugin::NotePadPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID) edit->setReadOnly(false); edit->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); vlay->addWidget(edit); + edit->setContextMenuPolicy(Qt::NoContextMenu); //Now load the new file-based system for saving notes //qDebug() << "Saving a new setting"; |