Fix context menu in progress dialog.

This commit is contained in:
LoRd_MuldeR 2010-12-22 23:45:36 +01:00
parent 7269e7fc9a
commit 38d60fe627
3 changed files with 6 additions and 3 deletions

View File

@ -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
/*

View File

@ -40,7 +40,7 @@
#include <Windows.h>
//Helper macros
#define LINK(URL) QString("<a href=\"%1\">&#8627;%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>&nbsp;&nbsp;</td><td valign=\"middle\">%2</td><td>&nbsp;&nbsp;</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)))

View File

@ -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)