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:
parent
0810559bcb
commit
9df3fdc2a0
|
@ -1014,17 +1014,6 @@ void Widget::removeGroup(Group* g, bool fake)
|
||||||
contactListWidget->show();
|
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)
|
void Widget::removeGroup(int groupId)
|
||||||
{
|
{
|
||||||
removeGroup(GroupList::findGroup(groupId));
|
removeGroup(GroupList::findGroup(groupId));
|
||||||
|
@ -1174,6 +1163,17 @@ void Widget::onSetShowSystemTray(bool newValue){
|
||||||
icon->setVisible(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)
|
void Widget::onSplitterMoved(int pos, int index)
|
||||||
{
|
{
|
||||||
Q_UNUSED(pos);
|
Q_UNUSED(pos);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user