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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user