mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Qt: set default limit for "all playlists" to 5000, use retro_assert instead of assert
This commit is contained in:
parent
d6b273f60e
commit
065318eb39
@ -385,7 +385,7 @@ void ViewOptionsDialog::loadViewOptions()
|
||||
m_saveLastTabCheckBox->setChecked(m_settings->value("save_last_tab", false).toBool());
|
||||
m_showHiddenFilesCheckBox->setChecked(m_settings->value("show_hidden_files", true).toBool());
|
||||
m_suggestLoadedCoreFirstCheckBox->setChecked(m_settings->value("suggest_loaded_core_first", false).toBool());
|
||||
m_allPlaylistsMaxCountSpinBox->setValue(m_settings->value("all_playlists_max_count", 0).toInt());
|
||||
m_allPlaylistsMaxCountSpinBox->setValue(m_settings->value("all_playlists_max_count", 5000).toInt());
|
||||
|
||||
themeIndex = m_themeComboBox->findData(m_mainwindow->getThemeFromString(m_settings->value("theme", "default").toString()));
|
||||
|
||||
|
@ -477,7 +477,7 @@ static void* ui_companion_qt_init(void)
|
||||
mainwindow->resizeThumbnails(true, true, true);
|
||||
|
||||
if (qsettings->contains("all_playlists_max_count"))
|
||||
mainwindow->setAllPlaylistsMaxCount(qsettings->value("all_playlists_max_count", 0).toInt());
|
||||
mainwindow->setAllPlaylistsMaxCount(qsettings->value("all_playlists_max_count", 5000).toInt());
|
||||
|
||||
if (qsettings->contains("geometry"))
|
||||
if (qsettings->contains("save_geometry"))
|
||||
|
@ -89,7 +89,7 @@ class ThumbnailWidget : public QFrame
|
||||
Q_OBJECT
|
||||
public:
|
||||
ThumbnailWidget(QWidget *parent = 0);
|
||||
ThumbnailWidget(const ThumbnailWidget& other) { assert(false && "DONT EVER USE THIS"); }
|
||||
ThumbnailWidget(const ThumbnailWidget& other) { retro_assert(false && "DONT EVER USE THIS"); }
|
||||
|
||||
QSize sizeHint() const;
|
||||
void setSizeHint(QSize size);
|
||||
|
Loading…
x
Reference in New Issue
Block a user