ui: fix codeview scrollbar and search crash

* fixed size policies of codeview elements to prevent the codeview from having a global scrollbar
* fixed crash in sorting of search results
* removed debug log when panning a codesnippet
This commit is contained in:
malte_langkabel
2016-05-04 18:38:53 +02:00
parent 75ced4b775
commit 30faa7e52f
7 changed files with 8 additions and 22 deletions
-9
View File
@@ -171,15 +171,6 @@ std::string QtCodeSnippet::getCode() const
return m_codeArea->getCode();
}
void QtCodeSnippet::contextMenuEvent(QContextMenuEvent* event)
{
// QMenu menu(this);
// menu.addAction(new QAction("Bar", this));
// menu.addAction(new QAction("Brew Tea", this));
// menu.addAction(new QAction("Translate", this));
// menu.exec(event->globalPos());
}
void QtCodeSnippet::clickedTitle()
{
if (m_titleId > 0)