mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-11-03 23:56:47 +00:00 
			
		
		
		
	Some minor fixes
This commit is contained in:
		
							parent
							
								
									5773676986
								
							
						
					
					
						commit
						6433b1e022
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -90,6 +90,7 @@ DataFilesPage::DataFilesPage(Files::ConfigurationManager &cfg, QWidget *parent)
 | 
			
		|||
 | 
			
		||||
    // Set the row height to the size of the checkboxes
 | 
			
		||||
    mMastersTable->verticalHeader()->setDefaultSectionSize(height);
 | 
			
		||||
    mMastersTable->verticalHeader()->setResizeMode(QHeaderView::Fixed);
 | 
			
		||||
    mMastersTable->verticalHeader()->hide();
 | 
			
		||||
    mMastersTable->setColumnHidden(1, true);
 | 
			
		||||
    mMastersTable->setColumnHidden(2, true);
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +111,7 @@ DataFilesPage::DataFilesPage(Files::ConfigurationManager &cfg, QWidget *parent)
 | 
			
		|||
    mPluginsTable->setAlternatingRowColors(true);
 | 
			
		||||
    mPluginsTable->setVerticalScrollMode(QAbstractItemView::ScrollPerItem);
 | 
			
		||||
    mPluginsTable->horizontalHeader()->setStretchLastSection(true);
 | 
			
		||||
 | 
			
		||||
    mPluginsTable->horizontalHeader()->hide();
 | 
			
		||||
    mPluginsTable->verticalHeader()->setDefaultSectionSize(height);
 | 
			
		||||
    mPluginsTable->verticalHeader()->setResizeMode(QHeaderView::Fixed);
 | 
			
		||||
    mPluginsTable->setColumnHidden(1, true);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -244,10 +244,10 @@ void MainDialog::play()
 | 
			
		|||
    const std::string settingspath = (mCfgMgr.getUserPath() / "settings.cfg").string();
 | 
			
		||||
    mSettings.saveUser(settingspath);
 | 
			
		||||
 | 
			
		||||
#ifdef Q_WS_WIN
 | 
			
		||||
#ifdef Q_OS_WIN
 | 
			
		||||
    QString game = "./openmw.exe";
 | 
			
		||||
    QFile file(game);
 | 
			
		||||
#elif defined(Q_WS_MAC)
 | 
			
		||||
#elif defined(Q_OS_MAC)
 | 
			
		||||
    QDir dir(QCoreApplication::applicationDirPath());
 | 
			
		||||
    QString game = dir.absoluteFilePath("openmw");
 | 
			
		||||
    QFile file(game);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue