1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

move new functions to a more logical location

This commit is contained in:
Dubslow 2014-11-27 16:35:56 -06:00
parent 0810559bcb
commit 9df3fdc2a0

View File

@ -1014,17 +1014,6 @@ void Widget::removeGroup(Group* g, bool fake)
contactListWidget->show();
}
void Widget::saveWindowGeometry()
{
Settings::getInstance().setWindowGeometry(saveGeometry());
Settings::getInstance().setWindowState(saveState());
}
void Widget::saveSplitterGeometry()
{
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
}
void Widget::removeGroup(int groupId)
{
removeGroup(GroupList::findGroup(groupId));
@ -1174,6 +1163,17 @@ void Widget::onSetShowSystemTray(bool newValue){
icon->setVisible(newValue);
}
void Widget::saveWindowGeometry()
{
Settings::getInstance().setWindowGeometry(saveGeometry());
Settings::getInstance().setWindowState(saveState());
}
void Widget::saveSplitterGeometry()
{
Settings::getInstance().setSplitterState(ui->mainSplitter->saveState());
}
void Widget::onSplitterMoved(int pos, int index)
{
Q_UNUSED(pos);