Fix context menu in progress dialog.
This commit is contained in:
parent
7269e7fc9a
commit
38d60fe627
@ -25,7 +25,7 @@
|
||||
#define VER_LAMEXP_MAJOR 4
|
||||
#define VER_LAMEXP_MINOR_HI 0
|
||||
#define VER_LAMEXP_MINOR_LO 0
|
||||
#define VER_LAMEXP_BUILD 181
|
||||
#define VER_LAMEXP_BUILD 182
|
||||
#define VER_LAMEXP_SUFFIX TechPreview
|
||||
|
||||
/*
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <Windows.h>
|
||||
|
||||
//Helper macros
|
||||
#define LINK(URL) QString("<a href=\"%1\">↳%2</a>").arg(URL).arg(URL)
|
||||
#define LINK(URL) QString("<a href=\"%1\">%2</a>").arg(URL).arg(URL)
|
||||
#define CONTRIBUTOR(LANG, CNTR, ICON) QString("<tr><td valign=\"middle\"><img src=\"%1\"></td><td> </td><td valign=\"middle\">%2</td><td> </td><td valign=\"middle\">%3</td></tr>").arg(ICON, LANG, CNTR);
|
||||
#define VSTR(BASE,TOOL,FORMAT) QString(BASE).arg(lamexp_version2string(FORMAT, lamexp_tool_version(TOOL)))
|
||||
|
||||
|
@ -398,7 +398,10 @@ void ProcessingDialog::logViewDoubleClicked(const QModelIndex &index)
|
||||
|
||||
void ProcessingDialog::contextMenuTriggered(const QPoint &pos)
|
||||
{
|
||||
if(pos.x() <= view_log->width() && pos.y() <= view_log->height() && pos.x() >= 0 && pos.y() >= 0)
|
||||
{
|
||||
m_contextMenu->popup(view_log->mapToGlobal(pos));
|
||||
}
|
||||
}
|
||||
|
||||
void ProcessingDialog::contextMenuActionTriggered(void)
|
||||
|
Loading…
Reference in New Issue
Block a user