aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/channelsjoin/ChannelsJoinDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/channelsjoin/ChannelsJoinDialog.cpp')
-rw-r--r--src/modules/channelsjoin/ChannelsJoinDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/channelsjoin/ChannelsJoinDialog.cpp b/src/modules/channelsjoin/ChannelsJoinDialog.cpp
index 442bce49a..4712b691f 100644
--- a/src/modules/channelsjoin/ChannelsJoinDialog.cpp
+++ b/src/modules/channelsjoin/ChannelsJoinDialog.cpp
@@ -56,8 +56,8 @@ extern QRect g_rectChannelsJoinGeometry;
extern KVIRC_API KviRegisteredChannelDataBase * g_pRegisteredChannelDataBase;
-ChannelsJoinDialog::ChannelsJoinDialog(QWidget * par, const char * name)
-: QDialog(par)
+ChannelsJoinDialog::ChannelsJoinDialog(const char * name)
+: QDialog(g_pMainWindow)
{
setObjectName(name);
setWindowTitle(__tr2qs("Join Channels"));