Moved qcma.rc and qcma.qrc
This commit is contained in:
		
							
								
								
									
										8
									
								
								qcma.pro
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								qcma.pro
									
									
									
									
									
								
							@@ -66,15 +66,15 @@ PKGCONFIG += libvitamtp libavformat libavcodec libavutil libswscale
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
QMAKE_CXXFLAGS += -Wno-write-strings -Wall -D__STDC_CONSTANT_MACROS
 | 
					QMAKE_CXXFLAGS += -Wno-write-strings -Wall -D__STDC_CONSTANT_MACROS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RESOURCES += \
 | 
					RESOURCES += qcmares.qrc
 | 
				
			||||||
    resources/qcmares.qrc
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
OTHER_FILES += \
 | 
					OTHER_FILES += \
 | 
				
			||||||
    resources/xml/psp2-updatelist.xml \
 | 
					    resources/xml/psp2-updatelist.xml \
 | 
				
			||||||
    resources/images/psv_icon.png \
 | 
					    resources/images/psv_icon.png \
 | 
				
			||||||
    README.md \
 | 
					    resources/images/psv_icon_16.png \
 | 
				
			||||||
 | 
					    resources/images/qcma.png \
 | 
				
			||||||
    resources/qcma.desktop \
 | 
					    resources/qcma.desktop \
 | 
				
			||||||
    resources/qcma.rc
 | 
					    qcma.rc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FORMS += \
 | 
					FORMS += \
 | 
				
			||||||
    src/forms/configwidget.ui \
 | 
					    src/forms/configwidget.ui \
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										11
									
								
								qcmares.qrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								qcmares.qrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					<RCC>
 | 
				
			||||||
 | 
					    <qresource prefix="/main">
 | 
				
			||||||
 | 
					        <file>resources/xml/psp2-updatelist.xml</file>
 | 
				
			||||||
 | 
					        <file>resources/translations/qcma.es.qm</file>
 | 
				
			||||||
 | 
					        <file>resources/translations/qcma.ja.qm</file>
 | 
				
			||||||
 | 
					        <file>resources/images/psv_icon.png</file>
 | 
				
			||||||
 | 
					        <file>resources/images/psv_icon_16.png</file>
 | 
				
			||||||
 | 
					        <file>resources/images/qcma.png</file>
 | 
				
			||||||
 | 
					        <file>resources/images/edit-clear-locationbar-rtl.png</file>
 | 
				
			||||||
 | 
					    </qresource>
 | 
				
			||||||
 | 
					</RCC>
 | 
				
			||||||
@@ -5,7 +5,7 @@ GenericName=Content Manager Assistant
 | 
				
			|||||||
GenericName[es]=Asistente del Gestor de Contenido
 | 
					GenericName[es]=Asistente del Gestor de Contenido
 | 
				
			||||||
Comment=Content Manager Assistant for the PS Vita
 | 
					Comment=Content Manager Assistant for the PS Vita
 | 
				
			||||||
Comment[es]=Asistente del Gestor de Contenido para PS Vita
 | 
					Comment[es]=Asistente del Gestor de Contenido para PS Vita
 | 
				
			||||||
Icon=qcma.png
 | 
					Icon=images/qcma.png
 | 
				
			||||||
Name=QCMA
 | 
					Name=QCMA
 | 
				
			||||||
Path=
 | 
					Path=
 | 
				
			||||||
StartupNotify=false
 | 
					StartupNotify=false
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,11 +0,0 @@
 | 
				
			|||||||
<RCC>
 | 
					 | 
				
			||||||
    <qresource prefix="/main">
 | 
					 | 
				
			||||||
        <file>xml/psp2-updatelist.xml</file>
 | 
					 | 
				
			||||||
        <file>translations/qcma.es.qm</file>
 | 
					 | 
				
			||||||
        <file>translations/qcma.ja.qm</file>
 | 
					 | 
				
			||||||
	<file>images/psv_icon.png</file>
 | 
					 | 
				
			||||||
        <file>images/psv_icon_16.png</file>
 | 
					 | 
				
			||||||
        <file>images/qcma.png</file>
 | 
					 | 
				
			||||||
        <file>images/edit-clear-locationbar-rtl.png</file>
 | 
					 | 
				
			||||||
    </qresource>
 | 
					 | 
				
			||||||
</RCC>
 | 
					 | 
				
			||||||
@@ -478,7 +478,7 @@ void CmaEvent::vitaEventSendHttpObjectFromURL(vita_event_t *event, int eventId)
 | 
				
			|||||||
    if(!file.open(QIODevice::ReadOnly)) {
 | 
					    if(!file.open(QIODevice::ReadOnly)) {
 | 
				
			||||||
        if(basename == "psp2-updatelist.xml") {
 | 
					        if(basename == "psp2-updatelist.xml") {
 | 
				
			||||||
            qDebug("Found request for update list. Sending cached data");
 | 
					            qDebug("Found request for update list. Sending cached data");
 | 
				
			||||||
            QFile res(":/main/resources/psp2-updatelist.xml");
 | 
					            QFile res(":/main/resources/xml/psp2-updatelist.xml");
 | 
				
			||||||
            res.open(QIODevice::ReadOnly);
 | 
					            res.open(QIODevice::ReadOnly);
 | 
				
			||||||
            data = res.readAll();
 | 
					            data = res.readAll();
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,7 @@ FilterLineEdit::FilterLineEdit(QWidget *parent) :
 | 
				
			|||||||
    QLineEdit(parent)
 | 
					    QLineEdit(parent)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    clearButton = new QToolButton(this);
 | 
					    clearButton = new QToolButton(this);
 | 
				
			||||||
    QIcon clearIcon(":/main/images/edit-clear-locationbar-rtl.png");
 | 
					    QIcon clearIcon(":/main/resources/images/edit-clear-locationbar-rtl.png");
 | 
				
			||||||
    clearButton->setIcon(clearIcon);
 | 
					    clearButton->setIcon(clearIcon);
 | 
				
			||||||
    clearButton->setCursor(Qt::ArrowCursor);
 | 
					    clearButton->setCursor(Qt::ArrowCursor);
 | 
				
			||||||
    clearButton->setStyleSheet("border:none;padding:0px");
 | 
					    clearButton->setStyleSheet("border:none;padding:0px");
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -119,7 +119,7 @@ void MainWidget::showAboutDialog()
 | 
				
			|||||||
    about.setWindowTitle(tr("About QCMA"));
 | 
					    about.setWindowTitle(tr("About QCMA"));
 | 
				
			||||||
    about.setInformativeText(tr("Copyright (C) 2013  Codestation") + "\n");
 | 
					    about.setInformativeText(tr("Copyright (C) 2013  Codestation") + "\n");
 | 
				
			||||||
    about.setStandardButtons(QMessageBox::Ok);
 | 
					    about.setStandardButtons(QMessageBox::Ok);
 | 
				
			||||||
    about.setIconPixmap(QPixmap(":/main/images/qcma.png"));
 | 
					    about.setIconPixmap(QPixmap(":/main/resources/images/qcma.png"));
 | 
				
			||||||
    about.setDefaultButton(QMessageBox::Ok);
 | 
					    about.setDefaultButton(QMessageBox::Ok);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // hack to expand the messagebox minimum size
 | 
					    // hack to expand the messagebox minimum size
 | 
				
			||||||
@@ -164,9 +164,9 @@ void MainWidget::createTrayIcon()
 | 
				
			|||||||
    trayIcon = new QSystemTrayIcon(this);
 | 
					    trayIcon = new QSystemTrayIcon(this);
 | 
				
			||||||
    trayIcon->setContextMenu(trayIconMenu);
 | 
					    trayIcon->setContextMenu(trayIconMenu);
 | 
				
			||||||
#ifndef Q_OS_WIN32
 | 
					#ifndef Q_OS_WIN32
 | 
				
			||||||
    trayIcon->setIcon(QIcon(":/main/images/psv_icon.png"));
 | 
					    trayIcon->setIcon(QIcon(":/main/resources/images/psv_icon.png"));
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    trayIcon->setIcon(QIcon(":/main/images/psv_icon_16.png"));
 | 
					    trayIcon->setIcon(QIcon(":/main/resources/images/psv_icon_16.png"));
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    trayIcon->show();
 | 
					    trayIcon->show();
 | 
				
			||||||
    // try to avoid the iconTray Qt bug
 | 
					    // try to avoid the iconTray Qt bug
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user