mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-18 03:08:46 -05:00
- Fix the size issue with list boxes on mac. Was displaying the list boxes with an improper size. Turns out it was just the wrong size policies on the frame below. - Ensure the main windows are fully displayed *before* initializing subsystems. This ensures that the graphics system will properly start up on macos, and allows the glitch fix. - Made a workaround for weird QT glitch that would happen to the parent of a pure native widget that also has internal painting fully disabled. (Should definitely write an example and report this bug on the QT forums)
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
/******************************************************************************
|
|
Copyright (C) 2013 by Hugh Bailey <obs.jim@gmail.com>
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
******************************************************************************/
|
|
|
|
#include "obs-app.hpp"
|
|
#include "window-basic-settings.hpp"
|
|
|
|
OBSBasicSettings::OBSBasicSettings(QWidget *parent)
|
|
: QDialog (parent),
|
|
ui (new Ui::OBSBasicSettings)
|
|
{
|
|
ui->setupUi(this);
|
|
|
|
/*ui->language = config_get_string(GetGlobalConfig(), "General",
|
|
"Language");*/
|
|
}
|
|
|
|
void OBSBasicSettings::closeEvent(QCloseEvent *event)
|
|
{
|
|
}
|
|
|
|
void OBSBasicSettings::on_listWidget_currentRowChanged(int row)
|
|
{
|
|
}
|
|
|
|
void OBSBasicSettings::on_buttonBox_clicked(QAbstractButton *button)
|
|
{
|
|
}
|