aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/options
diff options
context:
space:
mode:
authorGravatar Fabio Bas2012-01-01 16:43:23 +0000
committerGravatar Fabio Bas2012-01-01 16:43:23 +0000
commitb538ec203da0ad5f6ea00dc4340dac7af0169b90 (patch)
treed6233eb4e8e2453aa9d3834135b5327fc66a3aee /src/modules/options
parentrefix #537 (diff)
downloadKVIrc-b538ec203da0ad5f6ea00dc4340dac7af0169b90.tar.gz
KVIrc-b538ec203da0ad5f6ea00dc4340dac7af0169b90.tar.bz2
KVIrc-b538ec203da0ad5f6ea00dc4340dac7af0169b90.zip
- Happy new year!
- Some parts of kvirc still refered to KviMainWindow as frame(), m_pFrm, etc.. => fixed - Some parts of kvirc were still coded as if more than one KviMainWindows could exists => fixed, this involved changing KviWindows's ctor and removing KviWindow::frame(), thus the big change - The trayicon module still called itself (and was called) dockextension, and was built to support more than one KviMainWindows => renamed and fixed - Modified KviWindow::hasAttention so that is can be used everywhere instead of mixing different ways to check if a notificationm should popup - should fix #1221 and hopefully introduce little to no bugs git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6010 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options')
-rw-r--r--src/modules/options/libkvioptions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/options/libkvioptions.cpp b/src/modules/options/libkvioptions.cpp
index 074878b5e..61bd7f630 100644
--- a/src/modules/options/libkvioptions.cpp
+++ b/src/modules/options/libkvioptions.cpp
@@ -112,9 +112,9 @@ static bool options_kvs_cmd_dialog(KviKvsModuleCommandCall * c)
d->setGeometry(0,0,d->width(),d->height());
}
} else {
- if(d->parent() != c->window()->frame()->splitter())
+ if(d->parent() != g_pMainWindow->splitter())
{
- d->setParent(c->window()->frame()->splitter());
+ d->setParent(g_pMainWindow->splitter());
d->setGeometry(0,0,d->width(),d->height());
d->show();
}
@@ -124,7 +124,7 @@ static bool options_kvs_cmd_dialog(KviKvsModuleCommandCall * c)
{
d = new OptionsDialog(0,szGroup);
} else {
- d = new OptionsDialog(c->window()->frame()->splitter(),szGroup);
+ d = new OptionsDialog(g_pMainWindow->splitter(),szGroup);
}
g_pOptionsDialogDict->insert(szGroup,d);
}