diff options
| author | 2017-06-23 05:47:56 -0400 | |
|---|---|---|
| committer | 2017-06-23 05:47:56 -0400 | |
| commit | 3378ac470bcd97f2279696ec176cea2ffad38ae4 (patch) | |
| tree | dd21fa9bb55a97c3e85ec15f78285ebc90deb4d7 | |
| parent | Add channel modes d and Y for InspIRCd (diff) | |
| download | KVIrc-3378ac470bcd97f2279696ec176cea2ffad38ae4.tar.gz KVIrc-3378ac470bcd97f2279696ec176cea2ffad38ae4.tar.bz2 KVIrc-3378ac470bcd97f2279696ec176cea2ffad38ae4.zip | |
Add menu-scrollable to the main Window menu
* Closes #2203
| -rw-r--r-- | src/kvirc/ui/KviWindowStack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kvirc/ui/KviWindowStack.cpp b/src/kvirc/ui/KviWindowStack.cpp index 745d9597a..51ba67261 100644 --- a/src/kvirc/ui/KviWindowStack.cpp +++ b/src/kvirc/ui/KviWindowStack.cpp @@ -65,6 +65,8 @@ KviWindowStack::KviWindowStack(QWidget * parent, const char * pcName) connect(m_pWindowPopup, SIGNAL(triggered(QAction *)), this, SLOT(menuActivated(QAction *))); connect(m_pWindowPopup, SIGNAL(aboutToShow()), this, SLOT(fillWindowPopup())); + m_pWindowPopup->setStyleSheet("QMenu { menu-scrollable: 1; }"); + setAutoFillBackground(false); connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentWindowChanged(int))); |
