diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2013-06-23 04:40:00 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2013-06-29 18:56:41 +0400 |
commit | 7e452dc3c34a53a34624f5b6a9445cce81166e6f (patch) | |
tree | fb93307667d3112bf1e32038c9629f1a61752e6b /plugins | |
parent | 5cb337049b42f5caa500328fe77724525ea4c6f7 (diff) |
mumble, murmur: Qt 5 support for Windows.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/manual/manual.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/manual/manual.cpp b/plugins/manual/manual.cpp index 30b8a5ed5..cf5a09666 100644 --- a/plugins/manual/manual.cpp +++ b/plugins/manual/manual.cpp @@ -247,10 +247,10 @@ static void unlock() { static void config(HWND h) { if (mDlg) { - mDlg->setParent(QWidget::find(h), Qt::Dialog); + mDlg->setParent(QWidget::find(reinterpret_cast<WId>(h)), Qt::Dialog); mDlg->qpbUnhinge->setEnabled(true); } else { - mDlg = new Manual(QWidget::find(h)); + mDlg = new Manual(QWidget::find(reinterpret_cast<WId>(h))); } mDlg->show(); @@ -287,8 +287,8 @@ static const std::wstring longdesc() { static std::wstring description(L"Manual placement plugin"); static std::wstring shortname(L"Manual placement"); -static void about(WId h) { - QMessageBox::about(QWidget::find(h), QString::fromStdWString(description), QString::fromStdWString(longdesc())); +static void about(HWND h) { + QMessageBox::about(QWidget::find(reinterpret_cast<WId>(h)), QString::fromStdWString(description), QString::fromStdWString(longdesc())); } static MumblePlugin manual = { |